]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: ls1021aqds: config: enable CONFIG_ID_EEPROM for mac command
authorJagdish Gediya <jagdish.gediya@nxp.com>
Wed, 9 May 2018 22:34:29 +0000 (04:04 +0530)
committerYork Sun <york.sun@nxp.com>
Fri, 8 Jun 2018 23:43:19 +0000 (16:43 -0700)
Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
include/configs/ls1021aqds.h

index 0b4a6a47f433fa0de7cdfdc87cff8fb23b6decdf..79a84c4a64aae51b0d1d9862b452f77d2c28851f 100644 (file)
@@ -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
  */