disable IMQ on 2.6.28 as well -- people should use IFB..
[openwrt.git] / target / linux / s3c24xx / patches / 0238-fix-glamo-crank-memory-to-90MHz.patch.patch
1 From 7dc7b3e40f68a10702aaffcc6ca929908fc38656 Mon Sep 17 00:00:00 2001
2 From: Andy Green <andy@openmoko.com>
3 Date: Mon, 4 Aug 2008 08:34:51 +0100
4 Subject: [PATCH] fix-glamo-crank-memory-to-90MHz.patch
5
6 Signed-off-by: Andy Green <andy@openmoko.com>
7 ---
8  drivers/mfd/glamo/glamo-core.c |    9 ++++++---
9  1 files changed, 6 insertions(+), 3 deletions(-)
10
11 diff --git a/drivers/mfd/glamo/glamo-core.c b/drivers/mfd/glamo/glamo-core.c
12 index 92dbd65..7bc38ff 100644
13 --- a/drivers/mfd/glamo/glamo-core.c
14 +++ b/drivers/mfd/glamo/glamo-core.c
15 @@ -729,8 +729,8 @@ static struct glamo_script glamo_init_script[] = {
16         { GLAMO_REG_CLOCK_MPEG,         0x0000 },
17  #endif
18         { GLAMO_REG_PLL_GEN1,           0x05db },       /* 48MHz */
19 -       { GLAMO_REG_PLL_GEN3,           0x09c3 },       /* 80MHz */
20 -               { 0xfffd, 0 },
21 +       { GLAMO_REG_PLL_GEN3,           0x0aba },       /* 90MHz */
22 +       { 0xfffd, 0 },
23         /*
24          * b9 of this register MUST be zero to get any interrupts on INT#
25          * the other set bits enable all the engine interrupt sources
26 @@ -749,7 +749,10 @@ static struct glamo_script glamo_init_script[] = {
27         { 0x212,        0x0000 },
28         { 0x214,        0x4000 },
29         { 0x216,        0xf00e },
30 -       { GLAMO_REG_MEM_TYPE,           0x0874 }, /* 8MB, 16 word pg wr+rd */
31 +
32 +       /* S-Media recommended "set tiling mode to 512 mode for memory access
33 +        * more efficiency when 640x480" */
34 +       { GLAMO_REG_MEM_TYPE,           0x0c74 }, /* 8MB, 16 word pg wr+rd */
35         { GLAMO_REG_MEM_GEN,            0xafaf }, /* 63 grants min + max */
36  
37         { GLAMO_REG_MEM_TIMING1,        0x0108 },
38 -- 
39 1.5.6.3
40