projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
446c381
)
mpc86xx: Double local bus clock divider
author
Trent Piepho
<tpiepho@freescale.com>
Wed, 3 Dec 2008 23:16:36 +0000
(15:16 -0800)
committer
Andrew Fleming-AFLEMING
<afleming@freescale.com>
Sat, 20 Dec 2008 00:32:48 +0000
(18:32 -0600)
The local bus clock divider should be doubled for both 8610 and 8641.
Signed-off-by: Trent Piepho <tpiepho@freescale.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Jon Loeliger <jdl@freescale.com>
cpu/mpc86xx/cpu.c
patch
|
blob
|
history
diff --git
a/cpu/mpc86xx/cpu.c
b/cpu/mpc86xx/cpu.c
index 0ff76e3f7ed65e0c830f9116e85543ea35968abe..a179fb3d01f083c173c754f42396ebe4b54a62e2 100644
(file)
--- a/
cpu/mpc86xx/cpu.c
+++ b/
cpu/mpc86xx/cpu.c
@@
-112,6
+112,7
@@
checkcpu(void)
#endif
clkdiv = lcrr & LCRR_CLKDIV;
if (clkdiv == 2 || clkdiv == 4 || clkdiv == 8) {
+ clkdiv *= 2;
printf("LBC:%4lu MHz\n",
sysinfo.freqSystemBus / 1000000 / clkdiv);
} else {