aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/eeprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/eeprom.c b/cmd/eeprom.c
index e5457ba0cf4..208b4138c11 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);