summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd/eeprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/eeprom.c b/cmd/eeprom.c
index e5457ba0cf..208b4138c1 100644
--- 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);
OpenPOWER on IntegriCloud