summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJagdish Gediya <jagdish.gediya@nxp.com>2018-05-10 04:04:29 +0530
committerYork Sun <york.sun@nxp.com>2018-06-08 16:43:19 -0700
commit73dc91f9c45e71cc0cd185ba7cd12db845dc418d (patch)
treea82031487371b8b72b93ba76eb215f4e03313d70 /include
parent4911948ec73fe6e157ff56887273a2236e5a42b6 (diff)
downloadu-boot-73dc91f9c45e71cc0cd185ba7cd12db845dc418d.tar.gz
u-boot-73dc91f9c45e71cc0cd185ba7cd12db845dc418d.tar.xz
u-boot-73dc91f9c45e71cc0cd185ba7cd12db845dc418d.zip
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')
-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
*/