linux-openzaurus: Hack integrator to work in RGB mode instead of BGR
authorRichard Purdie <richard@openedhand.com>
Thu, 25 May 2006 08:28:41 +0000 (08:28 +0000)
committerRichard Purdie <richard@openedhand.com>
Thu, 25 May 2006 08:28:41 +0000 (08:28 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@418 311d38ba-8fff-0310-9ca6-ca027cbcb966

openembedded/packages/linux/linux-openzaurus-2.6.16/integrator_rgb-r0.patch [new file with mode: 0644]
openembedded/packages/linux/linux-openzaurus_2.6.16.bb

diff --git a/openembedded/packages/linux/linux-openzaurus-2.6.16/integrator_rgb-r0.patch b/openembedded/packages/linux/linux-openzaurus-2.6.16/integrator_rgb-r0.patch
new file mode 100644 (file)
index 0000000..db2f34a
--- /dev/null
@@ -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,
+ };
index dfd242f..00eb85c 100644 (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 \