[PATCH 1/4] qi-return-to-400MHz-boot-for-now.patch
Andy Green
andy at openmoko.com
Sun Oct 26 06:27:26 CET 2008
Not ready for 200MHz boot yet -- but will be soon, cpufreq is coming to
upstream 2442 kernel it seems.
Signed-off-by: Andy Green <andy at openmoko.com>
---
src/cpu/s3c2442/gta02.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/cpu/s3c2442/gta02.c b/src/cpu/s3c2442/gta02.c
index 1bda6bf..38fc5cf 100644
--- a/src/cpu/s3c2442/gta02.c
+++ b/src/cpu/s3c2442/gta02.c
@@ -32,8 +32,8 @@
#include <glamo-init.h>
#define GTA02_DEBUG_UART 2
-
#define PCF50633_I2C_ADS 0x73
+#define BOOST_TO_400MHZ 1
struct pcf50633_init {
u8 index;
@@ -92,7 +92,7 @@ static const struct board_variant board_variants[] = {
void port_init_gta02(void)
{
-#if 0
+#if BOOST_TO_400MHZ
unsigned int * MPLLCON = (unsigned int *)0x4c000004;
unsigned int * UPLLCON = (unsigned int *)0x4c000008;
unsigned int * CLKDIVN = (unsigned int *)0x4c000014;
@@ -226,7 +226,7 @@ void port_init_gta02(void)
i2c_write_sync(&bb_s3c24xx, PCF50633_I2C_ADS,
pcf50633_init[n].index, pcf50633_init[n].value);
-#if 0
+#if BOOST_TO_400MHZ
/* change CPU clocking to 400MHz 1:4:8 */
/* clock divide 1:4:8 - do it first */
More information about the openmoko-kernel
mailing list