[U-Boot] Revert "common, env: Fix support for environment in i2c eeprom"

Tom Rini trini at ti.com
Mon Oct 27 23:19:59 CET 2014


On Tue, Oct 14, 2014 at 11:16:33AM +0200, Valentin Longchamp wrote:

> Since i2c_init_all always sets the bus back to CONFIG_SYS_SPD_BUS_NUM
> for compatibility reasons, it means that any eeprom not located on this
> CONFIG_SYS_SPD_BUS_NUM is not accessible with the eeprom commands, even
> if you change the bus number with an i2c dev command before.
> 
> Furthermore i2c_init_all should disappear and is currently only called
> from the early board initialisation sequences, it is not suited for
> other usage.
> 
> This reverts commit 01a0c64762e902971b34587a8a61b59e9ea51374.
> 
> Signed-off-by: Valentin Longchamp <valentin.longchamp at keymile.com>
> Acked-by: Matthias Fuchs <matthias.fuchs at esd.eu>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141027/fdbe1228/attachment.pgp>


More information about the U-Boot mailing list