projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MPC5xxx: fix some compiler warnings in USB code
[oweals/u-boot.git]
/
cpu
/
mcf523x
/
speed.c
diff --git
a/cpu/mcf523x/speed.c
b/cpu/mcf523x/speed.c
index 509109d0ed0049b22c7cf500046a30173f771f55..247d3188bb200b143d0bd4dccc2043b2d0317f71 100644
(file)
--- 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);
}