commit | 1bdbe2d827788726618694d959dc502fb5be3cfe | [log] [tgz] |
---|---|---|
author | Nikita Kiryanov <nikita@compulab.co.il> | Sat Apr 16 17:55:02 2016 +0300 |
committer | Tom Rini <trini@konsulko.com> | Fri May 20 17:02:06 2016 -0400 |
tree | 6f4ef0a50f30056edafc0589273379fcaa25236d | |
parent | e55d190d1392a14a1e55c9b8392f87b5ee6e6d2f [diff] |
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>