diff options
author | Marek Vasut <marex@denx.de> | 2015-11-10 22:53:19 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-11-22 05:50:21 +0300 |
commit | e4f65d006793d5f034ce10b8cc9810eb0b396879 (patch) | |
tree | 0b4397fdf45ee79cbb7259a76b106947fac9543b /include/configs/km/km-powerpc.h | |
parent | 4f296d09e13c04a7bca38f6cf1150b9417d054d4 (diff) | |
download | u-boot-e4f65d006793d5f034ce10b8cc9810eb0b396879.tar.xz |
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/km/km-powerpc.h')
-rw-r--r-- | include/configs/km/km-powerpc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/km/km-powerpc.h b/include/configs/km/km-powerpc.h index 3f045f2e4a..eba7479771 100644 --- a/include/configs/km/km-powerpc.h +++ b/include/configs/km/km-powerpc.h @@ -25,7 +25,6 @@ #define CONFIG_KM_COMMON_ETH_INIT /* EEprom support 24C08, 24C16, 24C64 */ -#define CONFIG_SYS_I2C_MULTI_EEPROMS #define CONFIG_SYS_EEPROM_PAGE_WRITE_ENABLE #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 3 /* 8 Byte write page */ #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 10 |