From ceded371c8a328cd41cdf55292206e0efb96c660 Mon Sep 17 00:00:00 2001 From: Wenbin Song Date: Wed, 9 Mar 2016 13:38:25 +0800 Subject: [PATCH] armv8/ls1043aqds: Enable ID_EEPROM support for ls1043aqds Signed-off-by: Wenbin Song Reviewed-by: York Sun --- include/configs/ls1043aqds.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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