]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_eeprom.c
i2c, soft-i2c: switch to new multibus/multiadapter support
[people/ms/u-boot.git] / common / cmd_eeprom.c
index 4a43116e92562cc766cd3a3fbeb577b53bd673b3..511d8b6022337ea3bf8e3c6b3a21f5b0c6ac5c35 100644 (file)
@@ -406,8 +406,7 @@ void eeprom_init  (void)
 #if defined(CONFIG_SPI) && !defined(CONFIG_ENV_EEPROM_IS_ON_I2C)
        spi_init_f ();
 #endif
-#if defined(CONFIG_HARD_I2C) || \
-    defined(CONFIG_SOFT_I2C)
+#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SYS_I2C_SOFT)
        i2c_init (CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
 #endif
 }