]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mpc8323erdb: remove RTC and add EEPROM
authorMichael Barkowski <michael.barkowski@freescale.com>
Thu, 20 Mar 2008 17:15:39 +0000 (13:15 -0400)
committerKim Phillips <kim.phillips@freescale.com>
Wed, 26 Mar 2008 00:16:44 +0000 (19:16 -0500)
There's no on-board RTC on the MPC8323ERDB, but there is an EEPROM.

Signed-off-by: Michael Barkowski <michael.barkowski@freescale.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
include/configs/MPC8323ERDB.h

index 42571c7b672944401cc6d72307c3c409be3404e6..94c4c6b040e78570c250dfd55794c8838d8cde24 100644 (file)
 #define CFG_I2C_OFFSET 0x3000
 
 /*
- * Config on-board RTC
+ * Config on-board EEPROM
  */
-#define CONFIG_RTC_DS1374              /* use ds1374 rtc via i2c */
-#define CFG_I2C_RTC_ADDR       0x68    /* at address 0x68 */
+#define CFG_I2C_EEPROM_ADDR     0x50
+#define CFG_I2C_EEPROM_ADDR_LEN 2
 
 /*
  * General PCI
 
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_I2C
+#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_ASKENV
 
 #if defined(CONFIG_PCI)