summaryrefslogtreecommitdiff
path: root/include/configs/mgsuvd.h
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2008-10-15 09:36:33 +0200
committerWolfgang Denk <wd@denx.de>2008-10-18 21:54:01 +0200
commitf2202450c75ba6934b356024101500ddcde6e2a6 (patch)
treeabc5cdd625cfc697feb2df9b325facde714f1d56 /include/configs/mgsuvd.h
parent9661bf9d120f760238b2a073b84f2baf05010057 (diff)
downloadu-boot-imx-f2202450c75ba6934b356024101500ddcde6e2a6.zip
u-boot-imx-f2202450c75ba6934b356024101500ddcde6e2a6.tar.gz
u-boot-imx-f2202450c75ba6934b356024101500ddcde6e2a6.tar.bz2
mgcoge, mgsuvd: added EEprom support.
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/configs/mgsuvd.h')
-rw-r--r--include/configs/mgsuvd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/mgsuvd.h b/include/configs/mgsuvd.h
index f2cfe6e..85c6ac9 100644
--- a/include/configs/mgsuvd.h
+++ b/include/configs/mgsuvd.h
@@ -113,6 +113,7 @@
#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DHCP
+#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_I2C
#define CONFIG_CMD_NFS
#define CONFIG_CMD_PING
@@ -372,5 +373,11 @@
#define CONFIG_I2C_CMD_TREE 1
#define CFG_MAX_I2C_BUS 2
+/* EEprom support */
+#define CFG_I2C_EEPROM_ADDR_LEN 1
+#define CFG_I2C_MULTI_EEPROMS 1
+#define CFG_EEPROM_PAGE_WRITE_ENABLE
+#define CFG_EEPROM_PAGE_WRITE_BITS 3
+#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10
#endif /* __CONFIG_H */