From: Michael Barkowski <michael.barkowski@freescale.com>
Date: Thu, 20 Mar 2008 17:15:39 +0000 (-0400)
Subject: mpc8323erdb: remove RTC and add EEPROM
X-Git-Tag: v2025.01-rc5-pxa1908~22369
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-logo.png?a=commitdiff_plain;h=0fa7a1b4719e325fce332689fb8754ec166191ff;p=u-boot.git

mpc8323erdb: remove RTC and add EEPROM

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>
---

diff --git a/include/configs/MPC8323ERDB.h b/include/configs/MPC8323ERDB.h
index 42571c7b67..94c4c6b040 100644
--- a/include/configs/MPC8323ERDB.h
+++ b/include/configs/MPC8323ERDB.h
@@ -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)