summaryrefslogtreecommitdiff
path: root/include/configs/ads5121.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2007-10-14 14:33:32 +0200
committerMichal Simek <monstr@monstr.eu>2007-10-14 14:33:32 +0200
commite58ade3a5c0df399f13dffb897ee9ddbc30d7302 (patch)
tree5e6e1e7cd2b97e3ca9c4eed122327327d09dfda8 /include/configs/ads5121.h
parent95df6f4ebaaa3972e312be1acf7650a18b84bf3d (diff)
parent636400198228d96983c06657b17f760f5989958e (diff)
downloadu-boot-imx-e58ade3a5c0df399f13dffb897ee9ddbc30d7302.zip
u-boot-imx-e58ade3a5c0df399f13dffb897ee9ddbc30d7302.tar.gz
u-boot-imx-e58ade3a5c0df399f13dffb897ee9ddbc30d7302.tar.bz2
Merge git://www.denx.de/git/u-boot
Diffstat (limited to 'include/configs/ads5121.h')
-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 22eac1b..bb1efdf 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