summaryrefslogtreecommitdiffstats
path: root/include/configs/am335x_evm.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-11-10 20:53:19 +0100
committerTom Rini <trini@konsulko.com>2015-11-21 21:50:21 -0500
commite4f65d006793d5f034ce10b8cc9810eb0b396879 (patch)
tree0b4397fdf45ee79cbb7259a76b106947fac9543b /include/configs/am335x_evm.h
parent4f296d09e13c04a7bca38f6cf1150b9417d054d4 (diff)
downloadtalos-obmc-uboot-e4f65d006793d5f034ce10b8cc9810eb0b396879.tar.gz
talos-obmc-uboot-e4f65d006793d5f034ce10b8cc9810eb0b396879.zip
eeprom: Zap CONFIG_SYS_I2C_MULTI_EEPROMS
This option only complicates the code unnecessarily, just use CONFIG_SYS_DEF_EEPROM_ADDR as the default address if there are only five arguments to eeprom {read/write} if this is defined. If CONFIG_SYS_DEF_EEPROM_ADDR is not defined, we mandate all six arguments. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Cc: Heiko Schocher <hs@denx.de> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/configs/am335x_evm.h')
-rw-r--r--include/configs/am335x_evm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index ed3fd34488..d501f04218 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -218,7 +218,6 @@
#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
/* PMIC support */
#define CONFIG_POWER_TPS65217
OpenPOWER on IntegriCloud