Skip to content
Commit 2636ac65 authored by Nikita Kiryanov's avatar Nikita Kiryanov Committed by Tom Rini
Browse files

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: default avatarNikita Kiryanov <nikita@compulab.co.il>
parent fbaf4272
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment