summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2013-12-10 15:02:15 +0530
committerTom Rini <trini@ti.com>2013-12-18 21:14:00 -0500
commit9f1a8cd33fec83c5e04c8d1103fb3ee2857ff2f0 (patch)
treeb3f7cdaf89467a5aa08fadad5a81189b2287346a /include
parent1564dba7d919e27d9e9c43b3277dfc3da14701d3 (diff)
downloadu-boot-imx-9f1a8cd33fec83c5e04c8d1103fb3ee2857ff2f0.zip
u-boot-imx-9f1a8cd33fec83c5e04c8d1103fb3ee2857ff2f0.tar.gz
u-boot-imx-9f1a8cd33fec83c5e04c8d1103fb3ee2857ff2f0.tar.bz2
ARM: AM43XX: board: add support for reading onboard EEPROM
Add support for reading onboard EEPROM to enable board detection. Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/am43xx_evm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index 0f34078..4de495a 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -25,6 +25,13 @@
#define CONFIG_SYS_NS16550_REG_SIZE (-4)
#define CONFIG_SYS_NS16550_CLK 48000000
+/* I2C Configuration */
+#define CONFIG_CMD_EEPROM
+#define CONFIG_ENV_EEPROM_IS_ON_I2C
+#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50 /* Main EEPROM */
+#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2
+#define CONFIG_SYS_I2C_MULTI_EEPROMS
+
/* SPL defines. */
#define CONFIG_SPL_TEXT_BASE 0x40300350
#define CONFIG_SPL_MAX_SIZE (0x40337C00 - CONFIG_SPL_TEXT_BASE)