diff options
author | Nikita Kiryanov <nikita@compulab.co.il> | 2016-04-16 17:55:08 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-20 17:02:08 -0400 |
commit | 19a90ed67390f230373b736d328f5ca482f0f779 (patch) | |
tree | 0dc7190a2a3dfce04adf20aada6db20ccb2c9447 | |
parent | 66b7e4201d90ed06ce10b7dff488c5e8932c38b2 (diff) | |
download | u-boot-imx-19a90ed67390f230373b736d328f5ca482f0f779.zip u-boot-imx-19a90ed67390f230373b736d328f5ca482f0f779.tar.gz u-boot-imx-19a90ed67390f230373b736d328f5ca482f0f779.tar.bz2 |
arm: cm-t3517: add support for eeprom layout comands
Add support for EEPROM and EEPROM layout commands for CM-T3517.
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
-rw-r--r-- | include/configs/cm_t3517.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h index 7cedb67..7c087c6 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 */ |