summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2015-02-11 15:20:25 +0100
committerStefano Babic <sbabic@denx.de>2015-02-17 10:42:54 +0100
commitfb2589b3307bcbb1c763b2039a50b5e8198af048 (patch)
treea3aa27673218ea23887a6026a3035f23978af6d4 /include/configs
parent189d257b7ad9c6c9c84941be27de8e31a6e87e86 (diff)
downloadu-boot-imx-fb2589b3307bcbb1c763b2039a50b5e8198af048.zip
u-boot-imx-fb2589b3307bcbb1c763b2039a50b5e8198af048.tar.gz
u-boot-imx-fb2589b3307bcbb1c763b2039a50b5e8198af048.tar.bz2
ot1200: add eeprom command to non-SPL build
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/ot1200.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h
index c061e93..3c60b4f 100644
--- a/include/configs/ot1200.h
+++ b/include/configs/ot1200.h
@@ -131,6 +131,16 @@
#define CONFIG_PHYLIB
#define CONFIG_PHY_SMSC
+#ifndef CONFIG_SPL
+#define CONFIG_CMD_EEPROM
+#define CONFIG_ENV_EEPROM_IS_ON_I2C
+#define CONFIG_SYS_I2C_EEPROM_BUS 1
+#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
+#define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 3
+#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5
+#define CONFIG_SYS_I2C_MULTI_EEPROMS
+#endif
+
/* Miscellaneous commands */
#define CONFIG_CMD_BMODE
#define CONFIG_CMD_SETEXPR