From: Nikita Kiryanov Date: Sat, 16 Apr 2016 14:55:08 +0000 (+0300) Subject: arm: cm-t3517: add support for eeprom layout comands X-Git-Tag: v2016.07-rc1~194 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=19a90ed67390f230373b736d328f5ca482f0f779;p=u-boot arm: cm-t3517: add support for eeprom layout comands Add support for EEPROM and EEPROM layout commands for CM-T3517. Cc: Igor Grinberg Cc: Tom Rini Signed-off-by: Nikita Kiryanov --- diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h index 7cedb6736d..7c087c6f5d 100644 --- a/include/configs/cm_t3517.h +++ b/include/configs/cm_t3517.h @@ -305,4 +305,15 @@ #define CONFIG_OMAP3_SPI +/* EEPROM */ +#define CONFIG_CMD_EEPROM +#define CONFIG_ENV_EEPROM_IS_ON_I2C +#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 +#define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 4 +#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5 +#define CONFIG_SYS_EEPROM_SIZE 256 + +#define CONFIG_CMD_EEPROM_LAYOUT +#define CONFIG_EEPROM_LAYOUT_HELP_STRING "v1, v2, v3" + #endif /* __CONFIG_H */