summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2016-04-16 17:55:10 +0300
committerTom Rini <trini@konsulko.com>2016-05-20 17:02:09 -0400
commit2d9a76b614c33e660b5556b5f96bd5ee4810953e (patch)
treeb99e63da7be33c7fb8be798962bcd220e5454ac1 /include
parentbcb447e157edd50106a7995f7a4045a0b63914c7 (diff)
arm: cm-t43: add support for eeprom layout comands
Add support for EEPROM and EEPROM layout commands for CM-T43. 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')
-rw-r--r--include/configs/cm_t43.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/cm_t43.h b/include/configs/cm_t43.h
index ee818ede26..c2dbd31803 100644
--- a/include/configs/cm_t43.h
+++ b/include/configs/cm_t43.h
@@ -170,4 +170,15 @@
#define CONFIG_SPL_I2C_SUPPORT
#define CONFIG_SPL_POWER_SUPPORT
+/* 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_T43_H */