diff options
author | Nikita Kiryanov <nikita@compulab.co.il> | 2016-04-16 17:55:05 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-20 17:02:07 -0400 |
commit | 126165312524305d1a5f2fc535e526fb92a3f8e0 (patch) | |
tree | 75b7cdca72706395bacddcda29a5b63b0410babe /include/configs | |
parent | 8af5734b4e9322a9af8640ba1af48ebe14ebf6c3 (diff) |
arm: cm-fx6: add support for eeprom layout comands
Add support for EEPROM and EEPROM layout commands for CM-FX6.
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/cm_fx6.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h index 9a125529c6..1f20ec3c6d 100644 --- a/include/configs/cm_fx6.h +++ b/include/configs/cm_fx6.h @@ -255,4 +255,15 @@ #define CONFIG_VIDEO_LOGO #define CONFIG_VIDEO_BMP_LOGO +/* 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 "v2, v3" + #endif /* __CONFIG_CM_FX6_H */ |