]> git.dujemihanovic.xyz Git - u-boot.git/commit
eeprom: Zap CONFIG_SYS_I2C_MULTI_EEPROMS
authorMarek Vasut <marex@denx.de>
Tue, 10 Nov 2015 19:53:19 +0000 (20:53 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 22 Nov 2015 02:50:21 +0000 (21:50 -0500)
commite4f65d006793d5f034ce10b8cc9810eb0b396879
tree0b4397fdf45ee79cbb7259a76b106947fac9543b
parent4f296d09e13c04a7bca38f6cf1150b9417d054d4
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>
30 files changed:
common/cmd_eeprom.c
include/configs/BSC9131RDB.h
include/configs/BSC9132QDS.h
include/configs/C29XPCIE.h
include/configs/P1010RDB.h
include/configs/PMC440.h
include/configs/TQM834x.h
include/configs/acadia.h
include/configs/am335x_evm.h
include/configs/am43xx_evm.h
include/configs/axs101.h
include/configs/bamboo.h
include/configs/canyonlands.h
include/configs/icon.h
include/configs/intip.h
include/configs/katmai.h
include/configs/km/km-powerpc.h
include/configs/km/km_arm.h
include/configs/luan.h
include/configs/m28evk.h
include/configs/motionpro.h
include/configs/p1_p2_rdb_pc.h
include/configs/p1_twr.h
include/configs/pcm051.h
include/configs/pengwyn.h
include/configs/sequoia.h
include/configs/t3corp.h
include/configs/tricorder.h
include/configs/walnut.h
include/configs/yosemite.h