]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/cpu/mpc86xx/speed.c
ppc: m68k: Move i2c1_clk, i2c2_clk to arch_global_data
[karo-tx-uboot.git] / arch / powerpc / cpu / mpc86xx / speed.c
index e5798eebec6ea9511284c7be2a83c6f016229357..18c1eea0c1ae1b7242051da35170a26e3044eac5 100644 (file)
@@ -130,11 +130,11 @@ int get_clocks(void)
         * AN2919.
         */
 #ifdef CONFIG_MPC8610
-       gd->i2c1_clk = sys_info.freqSystemBus;
+       gd->arch.i2c1_clk = sys_info.freqSystemBus;
 #else
-       gd->i2c1_clk = sys_info.freqSystemBus / 2;
+       gd->arch.i2c1_clk = sys_info.freqSystemBus / 2;
 #endif
-       gd->i2c2_clk = gd->i2c1_clk;
+       gd->arch.i2c2_clk = gd->arch.i2c1_clk;
 
        if (gd->cpu_clk != 0)
                return 0;