]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/board_f.c
i2c, soft-i2c: switch to new multibus/multiadapter support
[karo-tx-uboot.git] / common / board_f.c
index ca9a7603eddb25d2b8d11cf045bc38ca0e1f9bea..ddac2dfe096d848544397d0cec766571278485b6 100644 (file)
@@ -261,8 +261,7 @@ void __dram_init_banksize(void)
 void dram_init_banksize(void)
        __attribute__((weak, alias("__dram_init_banksize")));
 
-#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SOFT_I2C) || \
-       defined(CONFIG_SYS_I2C)
+#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SYS_I2C)
 static int init_func_i2c(void)
 {
        puts("I2C:   ");
@@ -920,8 +919,7 @@ static init_fnc_t init_sequence_f[] = {
        misc_init_f,
 #endif
        INIT_FUNC_WATCHDOG_RESET
-#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SOFT_I2C) || \
-       defined(CONFIG_SYS_I2C)
+#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SYS_I2C)
        init_func_i2c,
 #endif
 #if defined(CONFIG_HARD_SPI)