]> git.sur5r.net Git - u-boot/blobdiff - cpu/74xx_7xx/speed.c
74xx: use r4 instead of r2 in lock_ram_in_cache and unlock_ram_in_cache
[u-boot] / cpu / 74xx_7xx / speed.c
index d8c40cea01ccb7f4675570515492dcd0574d85c2..bc33a67be6edd1ce6f0ee6e5668920644b18b45b 100644 (file)
@@ -127,8 +127,8 @@ int get_clocks (void)
 {
        ulong clock = 0;
 
-#ifdef CFG_BUS_CLK
-       gd->bus_clk = CFG_BUS_CLK;      /* bus clock is a fixed frequency */
+#ifdef CONFIG_SYS_BUS_CLK
+       gd->bus_clk = CONFIG_SYS_BUS_CLK;       /* bus clock is a fixed frequency */
 #else
        gd->bus_clk = get_board_bus_clk ();     /* bus clock is configurable */
 #endif