From 3565397f1c2fd80b648d01439a1963f638b73e57 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Fri, 28 Nov 2008 10:16:45 +0000 Subject: [PATCH] qi-gta03-framebuffer-init-to-c.patch Signed-off-by: Andy Green --- qiboot/src/cpu/s3c6410/gta03.c | 5 +++++ qiboot/src/cpu/s3c6410/start.S | 10 ---------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/qiboot/src/cpu/s3c6410/gta03.c b/qiboot/src/cpu/s3c6410/gta03.c index 1d9bbb9..10ac90e 100644 --- a/qiboot/src/cpu/s3c6410/gta03.c +++ b/qiboot/src/cpu/s3c6410/gta03.c @@ -798,6 +798,11 @@ void port_init_gta03(void) (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 */ diff --git a/qiboot/src/cpu/s3c6410/start.S b/qiboot/src/cpu/s3c6410/start.S index 445e905..f9e5079 100644 --- a/qiboot/src/cpu/s3c6410/start.S +++ b/qiboot/src/cpu/s3c6410/start.S @@ -192,16 +192,6 @@ start_code: orr r0, r0, #0x13 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 */ ldr r0, =ELFIN_MEM_SYS_CFG @Memory sussystem address 0x7e00f120