[PATCH] PowerPC 440EPx: Sequoia bootwrapper

Bob Burke Bob.Burke at terascala.com
Tue Jul 21 23:33:20 EST 2009


The system clock frequency on the Sequoia board is 33.000000 MHz not
33.333333 MHz; this causes the system time to drift more than 30 seconds
per hour.

diff -ruN a/arch/powerpc/boot/cuboot-sequoia.c
b/arch/powerpc/boot/cuboot-sequoia.c
--- a/arch/powerpc/boot/cuboot-sequoia.c        2009-05-18
19:52:34.000000000 -0400
+++ b/arch/powerpc/boot/cuboot-sequoia.c        2009-07-21
09:13:13.000000000 -0400
@@ -37,7 +37,7 @@

 static void sequoia_fixups(void)
 {
-       unsigned long sysclk = 33333333;
+       unsigned long sysclk = 33000000;

        ibm440ep_fixup_clocks(sysclk, 11059200, 50000000);
        ibm4xx_fixup_ebc_ranges("/plb/opb/ebc");



More information about the Linuxppc-dev mailing list