summaryrefslogtreecommitdiffstats
path: root/include/configs/ls1043aqds.h
diff options
context:
space:
mode:
authorWenbin Song <wenbin.song@nxp.com>2016-03-09 13:38:25 +0800
committerYork Sun <york.sun@nxp.com>2016-03-21 12:42:15 -0700
commitceded371c8a328cd41cdf55292206e0efb96c660 (patch)
tree685fe6710f66b990b96bc018f53498cb46c97744 /include/configs/ls1043aqds.h
parentec44289db5c340872bdc76dfcea50bb9b6c56d4d (diff)
downloadtalos-obmc-uboot-ceded371c8a328cd41cdf55292206e0efb96c660.tar.gz
talos-obmc-uboot-ceded371c8a328cd41cdf55292206e0efb96c660.zip
armv8/ls1043aqds: Enable ID_EEPROM support for ls1043aqds
Signed-off-by: Wenbin Song <wenbin.song@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/configs/ls1043aqds.h')
-rw-r--r--include/configs/ls1043aqds.h10
1 files changed, 10 insertions, 0 deletions
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
OpenPOWER on IntegriCloud