[U-Boot] [PATCH 3/5] mpc86xx: Double local bus clock divider

Trent Piepho tpiepho at freescale.com
Thu Dec 4 00:16:36 CET 2008


The local bus clock divider should be doubled for both 8610 and 8641.

Signed-off-by: Trent Piepho <tpiepho at freescale.com>
Acked-by: Kumar Gala <galak at kernel.crashing.org>
Acked-by: Jon Loeliger <jdl at freescale.com>
---
 cpu/mpc86xx/cpu.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cpu/mpc86xx/cpu.c b/cpu/mpc86xx/cpu.c
index 0ff76e3..a179fb3 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 {
-- 
1.5.4.1



More information about the U-Boot mailing list