1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2025-02-17 04:54:42 +02:00

qi-gta03-framebuffer-init-to-c.patch

Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
Andy Green 2008-11-28 10:16:45 +00:00 committed by Andy Green
parent 4a503bbc81
commit 3565397f1c
2 changed files with 5 additions and 10 deletions

View File

@ -798,6 +798,11 @@ void port_init_gta03(void)
(0 << 30) /* GPQ15 - no pull up or down */ (0 << 30) /* GPQ15 - no pull up or down */
; ;
/* LCD Controller enable */
__REG(0x7410800c) = 0;
__REG(0x7f0081a0) = 0xbfc11501;
/* /*
* We have to talk to the PMU a little bit * We have to talk to the PMU a little bit
*/ */

View File

@ -192,16 +192,6 @@ start_code:
orr r0, r0, #0x13 orr r0, r0, #0x13
mcr p15,0,r0,c15,c2,4 @ 256M(0x70000000-0x7fffffff) mcr p15,0,r0,c15,c2,4 @ 256M(0x70000000-0x7fffffff)
/* LCD Controller enable */
ldr r0, =0x7410800c @ MIFPCON[3] = 0
mov r1, #0
str r1, [r0]
ldr r0, =0x7f0081a0 @ SPCON[1:0] = 01
ldr r1, =0xbfc11501
str r1, [r0]
/* SDRAM */ /* SDRAM */
ldr r0, =ELFIN_MEM_SYS_CFG @Memory sussystem address 0x7e00f120 ldr r0, =ELFIN_MEM_SYS_CFG @Memory sussystem address 0x7e00f120