From: Wenbin Song Date: Wed, 9 Mar 2016 05:38:25 +0000 (+0800) Subject: armv8/ls1043aqds: Enable ID_EEPROM support for ls1043aqds X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=ceded371c8a328cd41cdf55292206e0efb96c660;p=u-boot.git armv8/ls1043aqds: Enable ID_EEPROM support for ls1043aqds Signed-off-by: Wenbin Song Reviewed-by: York Sun --- diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h index 68e00c8bb1..7b99d36970 100644 --- a/include/configs/ls1043aqds.h +++ b/include/configs/ls1043aqds.h @@ -114,6 +114,16 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_DOS_PARTITION #define CONFIG_BOARD_LATE_INIT + +/* 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 + #define CONFIG_SYS_SATA AHCI_BASE_ADDR #define CONFIG_SYS_SCSI_MAX_SCSI_ID 1