]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/m68k/cpu/mcf5445x/speed.c
i2c, fsl_i2c: switch to new multibus/multiadapter support
[people/ms/u-boot.git] / arch / m68k / cpu / mcf5445x / speed.c
index 0276d4d8261f5a33ef2eec430548f44b374e9f6e..3b341b89642b8c2f0ac6389dc4bb2f17a00de4c4 100644 (file)
@@ -273,7 +273,7 @@ void setup_5445x_clocks(void)
 #endif
        }
 
-#ifdef CONFIG_FSL_I2C
+#ifdef CONFIG_SYS_I2C_FSL
        gd->arch.i2c1_clk = gd->bus_clk;
 #endif
 }
@@ -289,7 +289,7 @@ int get_clocks(void)
        setup_5445x_clocks();
 #endif
 
-#ifdef CONFIG_FSL_I2C
+#ifdef CONFIG_SYS_FSL_I2C
        gd->arch.i2c1_clk = gd->bus_clk;
 #endif