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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu/mcf523x/speed.c b/cpu/mcf523x/speed.c
index 509109d0e..247d3188b 100644
--- a/cpu/mcf523x/speed.c
+++ b/cpu/mcf523x/speed.c
@@ -41,8 +41,9 @@ int get_clocks(void)
pll->syncr = PLL_SYNCR_MFD(1);
while (!(pll->synsr & PLL_SYNSR_LOCK));
-
+
gd->bus_clk = CFG_CLK;
gd->cpu_clk = (gd->bus_clk * 2);
+
return (0);
}