summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-10-10 16:31:06 +0200
committerWolfgang Denk <wd@denx.de>2007-10-10 16:31:06 +0200
commit8faf69dc213600f9503a2423b99e8c43a5943f79 (patch)
treec122a5eea96b7241a4d0f4df6c6a06d34ca0c3ac
parent6091534b8c50ef0c5e357244853cda895a86aaef (diff)
parent8002012041f1ff9f997a5727abe5015f70cd2e46 (diff)
Merge branch 'hellrosa_i2c' of /home/gjb/git/u-boot
-rw-r--r--include/configs/ads5121.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/ads5121.h b/include/configs/ads5121.h
index 22eac1b4b95..ee9cfd6768c 100644
--- a/include/configs/ads5121.h
+++ b/include/configs/ads5121.h
@@ -235,6 +235,14 @@
#endif
/*
+ * EEPROM configuration
+ */
+#define CFG_I2C_EEPROM_ADDR_LEN 2 /* 16-bit EEPROM address */
+#define CFG_I2C_EEPROM_ADDR 0x50 /* Atmel: AT24C32A-10TQ-2.7 */
+#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* 10ms of delay */
+#define CFG_EEPROM_PAGE_WRITE_BITS 5 /* 32-Byte Page Write Mode */
+
+/*
* Ethernet configuration
*/
#define CONFIG_MPC512x_FEC 1
@@ -275,6 +283,7 @@
#define CONFIG_CMD_NFS
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
+#define CONFIG_CMD_EEPROM
#if defined(CONFIG_PCI)
#define CONFIG_CMD_PCI