summaryrefslogtreecommitdiff
path: root/include/configs/dra7xx_evm.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-17 03:25:10 -0600
committerTom Rini <trini@konsulko.com>2017-05-22 09:33:49 -0400
commita1dc980d88a5c9c2b99251c8d8299b0c8948de73 (patch)
treea869d56e760ac361f08e226b7eeba01bf01785aa /include/configs/dra7xx_evm.h
parentd96e8985f60ba61150b1b67b2b1ba1a540b40ca9 (diff)
Convert CONFIG_CMD_EEPROM et al to Kconfig
This converts the following to Kconfig: CONFIG_CMD_EEPROM CONFIG_CMD_EEPROM_LAYOUT CONFIG_EEPROM_LAYOUT_HELP_STRING Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> [trini: Rework Kconfig logic slightly, define EEPROM location on TI eval platforms] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/dra7xx_evm.h')
-rw-r--r--include/configs/dra7xx_evm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index a9ca0231f58..17608a54cd9 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -41,6 +41,10 @@
#define CONFIG_SYS_NS16550_COM2 UART2_BASE /* UART2 */
#define CONFIG_SYS_NS16550_COM3 UART3_BASE /* UART3 */
+#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_OMAP_ABE_SYSCK
#ifndef CONFIG_SPL_BUILD