projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Coldfire MCF5249 support added
[platform/kernel/u-boot.git]
/
cpu
/
mcf52x2
/
speed.c
diff --git
a/cpu/mcf52x2/speed.c
b/cpu/mcf52x2/speed.c
index
8d5c92f
..
519c992
100644
(file)
--- a/
cpu/mcf52x2/speed.c
+++ b/
cpu/mcf52x2/speed.c
@@
-32,6
+32,10
@@
int get_clocks (void)
DECLARE_GLOBAL_DATA_PTR;
gd->cpu_clk = CFG_CLK;
+#ifdef CONFIG_M5249
+ gd->bus_clk = gd->cpu_clk / 2;
+#else
gd->bus_clk = gd->cpu_clk;
+#endif
return (0);
}