linux-openzaurus: Hack integrator to work in RGB mode instead of BGR

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@418 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie 2006-05-25 08:28:41 +00:00
parent 0ef1286f7f
commit cc5ca2f247
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,13 @@
Index: linux-2.6.16/arch/arm/mach-integrator/integrator_cp.c
===================================================================
--- linux-2.6.16.orig/arch/arm/mach-integrator/integrator_cp.c 2006-03-20 05:53:29.000000000 +0000
+++ linux-2.6.16/arch/arm/mach-integrator/integrator_cp.c 2006-05-24 21:57:49.000000000 +0100
@@ -454,7 +454,7 @@
.width = -1,
.height = -1,
.tim2 = TIM2_BCD | TIM2_IPC,
- .cntl = CNTL_LCDTFT | CNTL_LCDVCOMP(1),
+ .cntl = CNTL_LCDTFT | CNTL_LCDVCOMP(1) | CNTL_BGR,
.bpp = 16,
.grayscale = 0,
};

View File

@ -1,6 +1,6 @@
include linux-openzaurus.inc
PR = "r21"
PR = "r22"
# Handy URLs
# git://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git \
@ -15,6 +15,7 @@ PR = "r21"
SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \
file://rmk-mmc1.patch;patch=1 \
file://rmk-mmc2.patch;patch=1 \
file://integrator_rgb-r0.patch;patch=1 \
${RPSRC}/led_core-r15.patch;patch=1 \
${RPSRC}/led_triggers-r14.patch;patch=1 \
${RPSRC}/led_trig_timer-r8.patch;patch=1 \