[PATCH 7/10] fix-early-upll.patch
Werner Almesberger
werner at openmoko.org
Tue Jul 15 13:03:18 CEST 2008
During early initialization, the UPLL only ran at 3/4 speed.
This is swiftly corrected in board_init, but better do it right the
first time.
Signed-off-by: Werner Almesberger <werner at openmoko.org>
Index: u-boot/cpu/arm920t/start.S
===================================================================
--- u-boot.orig/cpu/arm920t/start.S 2008-07-14 20:13:02.000000000 -0300
+++ u-boot/cpu/arm920t/start.S 2008-07-14 20:13:32.000000000 -0300
@@ -217,7 +217,7 @@
# define INTSUBMSK_val 0xffff
# if (CONFIG_SYS_CLK_FREQ == 12000000)
# define MPLLCON_val ((142 << 12) + (7 << 4) + 1)
-# define UPLLCON_val (( 88 << 12) + (8 << 4) + 2)
+# define UPLLCON_val (( 88 << 12) + (4 << 4) + 2)
# elif (CONFIG_SYS_CLK_FREQ == 16934400)
# define MPLLCON_val ((181 << 12) + (14<< 4) + 1)
# define UPLLCON_val (( 26 << 12) + (4 << 4) + 1)
More information about the openmoko-kernel
mailing list