mpc86xx: Double local bus clock divider
authorTrent Piepho <tpiepho@freescale.com>
Wed, 3 Dec 2008 23:16:36 +0000 (15:16 -0800)
committerAndrew 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

index 0ff76e3f7ed65e0c830f9116e85543ea35968abe..a179fb3d01f083c173c754f42396ebe4b54a62e2 100644 (file)
@@ -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 {