Add support for EEPROM and EEPROM layout commands for CM-T54.

Cc: Igor Grinberg <grinb...@compulab.co.il>
Cc: Tom Rini <tr...@konsulko.com>
Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il>
---
 include/configs/cm_t54.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/include/configs/cm_t54.h b/include/configs/cm_t54.h
index c8c67c4..8e48128 100644
--- a/include/configs/cm_t54.h
+++ b/include/configs/cm_t54.h
@@ -84,6 +84,17 @@
 #define CONFIG_CMD_DHCP                /* DHCP Support                 */
 #define CONFIG_CMD_PING
 
+/* 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
-- 
1.9.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to