summaryrefslogtreecommitdiff
path: root/include/configs/ls1021aqds.h
diff options
context:
space:
mode:
authorJagdish Gediya <jagdish.gediya@nxp.com>2018-05-10 01:34:29 +0300
committerYork Sun <york.sun@nxp.com>2018-06-09 02:43:19 +0300
commit73dc91f9c45e71cc0cd185ba7cd12db845dc418d (patch)
treea82031487371b8b72b93ba76eb215f4e03313d70 /include/configs/ls1021aqds.h
parent4911948ec73fe6e157ff56887273a2236e5a42b6 (diff)
downloadu-boot-73dc91f9c45e71cc0cd185ba7cd12db845dc418d.tar.xz
arm: ls1021aqds: config: enable CONFIG_ID_EEPROM for mac command
Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/configs/ls1021aqds.h')
-rw-r--r--include/configs/ls1021aqds.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index 0b4a6a47f4..79a84c4a64 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -351,6 +351,15 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */
#define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 3 */
+/* EEPROM */
+#define CONFIG_ID_EEPROM
+#define CONFIG_SYS_I2C_EEPROM_NXID
+#define CONFIG_SYS_EEPROM_BUS_NUM 0
+#define CONFIG_SYS_I2C_EEPROM_ADDR 0x57
+#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
+#define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 3
+#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5
+
/*
* I2C bus multiplexer
*/