diff options
author | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-12 00:02:36 +0000 |
---|---|---|
committer | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-12 00:02:36 +0000 |
commit | cc3146824acbf585f487a803b4a2eadf36b9b47d (patch) | |
tree | efab142ef89b35ce42e8a79e028eff15be362af8 /target/linux/s3c24xx/patches/0238-fix-glamo-crank-memory-to-90MHz.patch.patch | |
parent | 22b3854919b7cb44d725eb7a7efd018ad9aec25c (diff) |
add support for target 3c24xx (more known as Openmoko GTA02 "Freerunner") and merge it with the openmoko-target and the work Michael Buesch <mb> did
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13609 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches/0238-fix-glamo-crank-memory-to-90MHz.patch.patch')
-rwxr-xr-x | target/linux/s3c24xx/patches/0238-fix-glamo-crank-memory-to-90MHz.patch.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches/0238-fix-glamo-crank-memory-to-90MHz.patch.patch b/target/linux/s3c24xx/patches/0238-fix-glamo-crank-memory-to-90MHz.patch.patch new file mode 100755 index 0000000000..591b1f4550 --- /dev/null +++ b/target/linux/s3c24xx/patches/0238-fix-glamo-crank-memory-to-90MHz.patch.patch @@ -0,0 +1,40 @@ +From 7dc7b3e40f68a10702aaffcc6ca929908fc38656 Mon Sep 17 00:00:00 2001 +From: Andy Green <andy@openmoko.com> +Date: Mon, 4 Aug 2008 08:34:51 +0100 +Subject: [PATCH] fix-glamo-crank-memory-to-90MHz.patch + +Signed-off-by: Andy Green <andy@openmoko.com> +--- + drivers/mfd/glamo/glamo-core.c | 9 ++++++--- + 1 files changed, 6 insertions(+), 3 deletions(-) + +diff --git a/drivers/mfd/glamo/glamo-core.c b/drivers/mfd/glamo/glamo-core.c +index 92dbd65..7bc38ff 100644 +--- a/drivers/mfd/glamo/glamo-core.c ++++ b/drivers/mfd/glamo/glamo-core.c +@@ -729,8 +729,8 @@ static struct glamo_script glamo_init_script[] = { + { GLAMO_REG_CLOCK_MPEG, 0x0000 }, + #endif + { GLAMO_REG_PLL_GEN1, 0x05db }, /* 48MHz */ +- { GLAMO_REG_PLL_GEN3, 0x09c3 }, /* 80MHz */ +- { 0xfffd, 0 }, ++ { GLAMO_REG_PLL_GEN3, 0x0aba }, /* 90MHz */ ++ { 0xfffd, 0 }, + /* + * b9 of this register MUST be zero to get any interrupts on INT# + * the other set bits enable all the engine interrupt sources +@@ -749,7 +749,10 @@ static struct glamo_script glamo_init_script[] = { + { 0x212, 0x0000 }, + { 0x214, 0x4000 }, + { 0x216, 0xf00e }, +- { GLAMO_REG_MEM_TYPE, 0x0874 }, /* 8MB, 16 word pg wr+rd */ ++ ++ /* S-Media recommended "set tiling mode to 512 mode for memory access ++ * more efficiency when 640x480" */ ++ { GLAMO_REG_MEM_TYPE, 0x0c74 }, /* 8MB, 16 word pg wr+rd */ + { GLAMO_REG_MEM_GEN, 0xafaf }, /* 63 grants min + max */ + + { GLAMO_REG_MEM_TIMING1, 0x0108 }, +-- +1.5.6.3 + |