MX51: vision2: Fix build for vision2 board.
[oweals/u-boot.git] / include / configs / digsy_mtc.h
index e7fd0f7f9c4f248ab05d479ceb4908fef902789c..c738b3ab4444d1833328692738da6d4c9d5728a1 100644 (file)
 #if defined(CONFIG_DIGSY_REV5)
 #define CONFIG_SYS_I2C_RTC_ADDR        0x56
 #define CONFIG_RTC_RV3029
+/* Enable 5k Ohm trickle charge resistor */
+#define CONFIG_SYS_RV3029_TCR  0x20
 #else
 #define CONFIG_RTC_DS1337
 #define CONFIG_SYS_I2C_RTC_ADDR        0x68
  */
 #define CONFIG_MPC5xxx_FEC     1
 #define CONFIG_MPC5xxx_FEC_MII100
+#if defined(CONFIG_DIGSY_REV5)
+#define CONFIG_PHY_ADDR                0x01
+#else
 #define CONFIG_PHY_ADDR                0x00
+#endif
 #define CONFIG_PHY_RESET_DELAY 1000
 
 #define CONFIG_NETCONSOLE              /* include NetConsole support   */