summaryrefslogtreecommitdiff
path: root/cpu/mcf523x/speed.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/mcf523x/speed.c')
-rw-r--r--cpu/mcf523x/speed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mcf523x/speed.c b/cpu/mcf523x/speed.c
index 1bda2d482e6..6096ba41444 100644
--- a/cpu/mcf523x/speed.c
+++ b/cpu/mcf523x/speed.c
@@ -42,7 +42,7 @@ int get_clocks(void)
while (!(pll->synsr & PLL_SYNSR_LOCK));
- gd->bus_clk = CFG_CLK;
+ gd->bus_clk = CONFIG_SYS_CLK;
gd->cpu_clk = (gd->bus_clk * 2);
#ifdef CONFIG_FSL_I2C