From: Jagdish Gediya Date: Wed, 9 May 2018 22:34:29 +0000 (+0530) Subject: arm: ls1021aqds: config: enable CONFIG_ID_EEPROM for mac command X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=73dc91f9c45e71cc0cd185ba7cd12db845dc418d;p=u-boot.git arm: ls1021aqds: config: enable CONFIG_ID_EEPROM for mac command Signed-off-by: Jagdish Gediya Reviewed-by: York Sun --- 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 */