]> git.sur5r.net Git - u-boot/commit
cmd: eeprom: add bus switching support for all i2c drivers
authorNikita Kiryanov <nikita@compulab.co.il>
Sat, 16 Apr 2016 14:55:02 +0000 (17:55 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 20 May 2016 21:02:06 +0000 (17:02 -0400)
commit2636ac65a84f2bbab4b6a773384cfc630b9b6d7b
tree6f4ef0a50f30056edafc0589273379fcaa25236d
parentfbaf42724f372ee3fb0d7cd83107f5bae416028f
cmd: eeprom: add bus switching support for all i2c drivers

The i2c_init function is always provided when CONFIG_SYS_I2C is
defined. No need to limit ourselves to just one supported I2C driver
(soft_i2c). Update the #ifdef conditions to support bus switching for
all I2C drivers.

Cc: Heiko Schocher <hs@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
cmd/eeprom.c