]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cpu/mcf532x/speed.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / cpu / mcf532x / speed.c
index a11e425cab982d780dbc61390d68a1c9ce71e62f..1e40374d0966c4d626ef4911fe086976445331ac 100644 (file)
@@ -197,7 +197,7 @@ int clock_pll(int fsys, int flags)
         */
 
        /* software workaround for SDRAM opeartion after exiting LIMP mode errata */
-       *sdram_workaround = CFG_SDRAM_BASE;
+       *sdram_workaround = CONFIG_SYS_SDRAM_BASE;
 
        /* wait for DQS logic to relock */
        for (i = 0; i < 0x200; i++) ;
@@ -210,7 +210,7 @@ int clock_pll(int fsys, int flags)
  */
 int get_clocks(void)
 {
-       gd->bus_clk = clock_pll(CFG_CLK / 1000, 0) * 1000;
+       gd->bus_clk = clock_pll(CONFIG_SYS_CLK / 1000, 0) * 1000;
        gd->cpu_clk = (gd->bus_clk * 3);
 
 #ifdef CONFIG_FSL_I2C