Hi list,

I changed the default CPU speed 211MHz to 400MHz.

regards,
willie
Index: u-boot/board/neo1973/gta02/gta02.c
===================================================================
--- u-boot.orig/board/neo1973/gta02/gta02.c	2008-01-08 15:52:26.000000000 +0800
+++ u-boot/board/neo1973/gta02/gta02.c	2008-01-08 15:56:08.000000000 +0800
@@ -55,8 +55,8 @@
 #define U_M_SDIV	0x2
 #else
 /* configure GTA02v2 to low speed until we've increased the voltage */
-#define M_MDIV 80
-#define M_PDIV 8
+#define M_MDIV 42
+#define M_PDIV 1
 #define M_SDIV 0
 #define U_M_MDIV 88
 #define U_M_PDIV 4
@@ -103,6 +103,9 @@
 	/* some delay between MPLL and UPLL */
 	delay (8000);
 
+	/* clock divide */
+	clk_power->CLKDIVN = 0x05;
+
 	/* set up the I/O ports */
 #if defined(CONFIG_ARCH_GTA02_v1)
 	gpio->GPACON = 0x007E1FFF;

Reply via email to