summaryrefslogtreecommitdiff
path: root/cpu/mcf523x/speed.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-08-18 14:33:02 +0200
committerStefan Roese <sr@denx.de>2007-08-18 14:33:02 +0200
commit8280f6a1c43247616b68224675188e5ccd124650 (patch)
tree1bfd0f89a9fd5c69e5b717bb7746068dd426e495 /cpu/mcf523x/speed.c
parent4a442d3186b31893b4f77c6e82f63c4517a5224b (diff)
downloadu-boot-imx-8280f6a1c43247616b68224675188e5ccd124650.zip
u-boot-imx-8280f6a1c43247616b68224675188e5ccd124650.tar.gz
u-boot-imx-8280f6a1c43247616b68224675188e5ccd124650.tar.bz2
Coding style cleanup
Signed-off-by: Stefan Roese <sr@denx.de>
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 509109d..247d318 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);
}