summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrent Piepho <tpiepho@freescale.com>2008-12-03 15:16:36 -0800
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-12-19 18:32:48 -0600
commit9863d6aca11405e1e0d8aba2045d78aeec4d4ee7 (patch)
tree43d141cb17cac14530a636ec1fbd9bde6b13291c
parent446c381e3e16f19857b72ea0d06241267b8b9d58 (diff)
mpc86xx: Double local bus clock divider
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>
-rw-r--r--cpu/mpc86xx/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu/mpc86xx/cpu.c b/cpu/mpc86xx/cpu.c
index 0ff76e3f7ed..a179fb3d01f 100644
--- 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 {