]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/m68k/cpu/mcf52x2/speed.c
Merge branch 'master' of git://git.denx.de/u-boot-i2c
[karo-tx-uboot.git] / arch / m68k / cpu / mcf52x2 / speed.c
index d0f9762d0b56c8040e1db4959554a878fc071ecf..c5961d45ecade055f6a6c41ed390883f7306cd57 100644 (file)
@@ -74,9 +74,9 @@ int get_clocks (void)
        gd->bus_clk = gd->cpu_clk;
 #endif
 
-#ifdef CONFIG_FSL_I2C
+#ifdef CONFIG_SYS_I2C_FSL
        gd->arch.i2c1_clk = gd->bus_clk;
-#ifdef CONFIG_SYS_I2C2_OFFSET
+#ifdef CONFIG_SYS_I2C2_FSL_OFFSET
        gd->arch.i2c2_clk = gd->bus_clk;
 #endif
 #endif