projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cmd: eeprom: add bus switching support for all i2c drivers
[oweals/u-boot.git]
/
cmd
/
eeprom.c
diff --git
a/cmd/eeprom.c
b/cmd/eeprom.c
index e5457ba0cf44d82344517a1b9b4fbaa1d1853f96..208b4138c116ae421098497fff854da9847b48e0 100644
(file)
--- a/
cmd/eeprom.c
+++ b/
cmd/eeprom.c
@@
-72,7
+72,7
@@
void eeprom_init(int bus)
#endif
/* I2C EEPROM */
-#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SYS_I2C
_SOFT
)
+#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SYS_I2C)
#if defined(CONFIG_SYS_I2C)
if (bus >= 0)
i2c_set_bus_num(bus);