From: Christian Gmeiner Date: Wed, 11 Feb 2015 14:20:25 +0000 (+0100) Subject: ot1200: add eeprom command to non-SPL build X-Git-Tag: v2015.04-rc4~118^2~23 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fb2589b3307bcbb1c763b2039a50b5e8198af048;p=u-boot ot1200: add eeprom command to non-SPL build Signed-off-by: Christian Gmeiner Acked-by: Stefano Babic --- diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h index c061e93534..3c60b4f12b 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