r3786 - trunk/src/target/u-boot/patches

werner at sita.openmoko.org werner at sita.openmoko.org
Tue Jan 8 14:53:01 CET 2008


Author: werner
Date: 2008-01-08 14:52:57 +0100 (Tue, 08 Jan 2008)
New Revision: 3786

Modified:
   trunk/src/target/u-boot/patches/uboot-gta02.patch
Log:
uboot-gta02.patch:
- board/neo1973/gta02/gta02.c (board_init): increase clock speed on GTA02 from
  FCLK = 211 MHz, HCLK = 70 MHz, PCLK = 35 MHz
  to
  FCLK = 400 MHz, HCLK = 100 MHz, PCLK = 50 MHz



Modified: trunk/src/target/u-boot/patches/uboot-gta02.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-gta02.patch	2008-01-08 13:37:47 UTC (rev 3785)
+++ trunk/src/target/u-boot/patches/uboot-gta02.patch	2008-01-08 13:52:57 UTC (rev 3786)
@@ -4,7 +4,7 @@
 ===================================================================
 --- u-boot.orig/Makefile
 +++ u-boot/Makefile
-@@ -2253,6 +2253,13 @@
+@@ -2276,6 +2276,13 @@
  sbc2410x_config: unconfig
  	@$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
  
@@ -92,7 +92,7 @@
 ===================================================================
 --- /dev/null
 +++ u-boot/board/neo1973/gta02/gta02.c
-@@ -0,0 +1,455 @@
+@@ -0,0 +1,458 @@
 +/*
 + * (C) 2006-2007 by OpenMoko, Inc.
 + * Author: Harald Welte <laforge at openmoko.org>
@@ -150,8 +150,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
@@ -195,6 +195,9 @@
 +	/* configure UPLL */
 +	clk_power->UPLLCON = ((U_M_MDIV << 12) + (U_M_PDIV << 4) + U_M_SDIV);
 +
++	/* clock divide */
++	clk_power->CLKDIVN = 0x05; /* 1:4:8 */
++
 +	/* some delay between MPLL and UPLL */
 +	delay (8000);
 +





More information about the commitlog mailing list