summaryrefslogtreecommitdiff
path: root/cmd/eeprom.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-12 21:09:56 -0600
committerHeiko Schocher <hs@denx.de>2017-05-15 06:18:30 +0200
commit69153988a6f4eda44257c6bc5afac484f8f95930 (patch)
tree4f3995cb48da7354d628689aaf09ab9fa3cfdd23 /cmd/eeprom.c
parent64a144dcea038df2b58dd3120a880e89164af09f (diff)
downloadu-boot-69153988a6f4eda44257c6bc5afac484f8f95930.tar.gz
i2c: Finish dropping use of CONFIG_I2C_HARD
Drop use of this long-deprecated option. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd/eeprom.c')
-rw-r--r--cmd/eeprom.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/eeprom.c b/cmd/eeprom.c
index 0a0e4a2c1c..e43566bc56 100644
--- a/cmd/eeprom.c
+++ b/cmd/eeprom.c
@@ -73,11 +73,9 @@ void eeprom_init(int bus)
#endif
/* I2C EEPROM */
-#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SYS_I2C)
#if defined(CONFIG_SYS_I2C)
if (bus >= 0)
i2c_set_bus_num(bus);
-#endif
i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
#endif
}