Skip to contentSkip to conversation

mpc8323erdb: remove RTC and add EEPROM

PATCH New Michael Barkowski 1 participant 1 message Mar 20, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 mpc8323erdb: remove RTC and add EEPROM

There's no on-board RTC on the MPC8323ERDB, but there is an EEPROM.

---
 include/configs/MPC8323ERDB.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
include/configs/MPC8323ERDB.h +4 -3
index 42571c7..94c4c6b 100644
@@ -321,10 +321,10 @@
 #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
@@ -417,6 +417,7 @@
 
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_I2C
+#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_ASKENV
 
 #if defined(CONFIG_PCI)
Signature · 1 line
1.5.3.6