aboutsummaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorNikita Kiryanov2016-04-16 17:55:07 +0300
committerTom Rini2016-05-20 17:02:08 -0400
commit66b7e4201d90ed06ce10b7dff488c5e8932c38b2 (patch)
tree53b53f3c5d6b6e4796c81a890fe9384ff53ede0f /include/configs
parent0e656b825e76a9ac583c60c5110f9723d9a9f5d1 (diff)
arm: cm-t54: add support for eeprom layout comands
Add support for EEPROM and EEPROM layout commands for CM-T54. 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_t54.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/cm_t54.h b/include/configs/cm_t54.h
index ac6103c0665..ff63d7a7756 100644
--- a/include/configs/cm_t54.h
+++ b/include/configs/cm_t54.h
@@ -81,6 +81,17 @@
/* Enabled commands */
+/* 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"
+
/* USB Networking options */
#define CONFIG_USB_HOST_ETHER
#define CONFIG_USB_ETHER_SMSC95XX