summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-05-25 08:28:41 +0000
committerRichard Purdie <richard@openedhand.com>2006-05-25 08:28:41 +0000
commitcc5ca2f2471e10d40b9e49b276dbf87225a1538f (patch)
treefd7c171428b0639182bc933a4a9298785a093b63
parent0ef1286f7fb21e53462f2a5457f8cb4434a9cc8f (diff)
downloadopenembedded-core-cc5ca2f2471e10d40b9e49b276dbf87225a1538f.tar.gz
openembedded-core-cc5ca2f2471e10d40b9e49b276dbf87225a1538f.tar.bz2
openembedded-core-cc5ca2f2471e10d40b9e49b276dbf87225a1538f.tar.xz
openembedded-core-cc5ca2f2471e10d40b9e49b276dbf87225a1538f.zip
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
-rw-r--r--openembedded/packages/linux/linux-openzaurus-2.6.16/integrator_rgb-r0.patch13
-rw-r--r--openembedded/packages/linux/linux-openzaurus_2.6.16.bb3
2 files changed, 15 insertions, 1 deletions
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
index 000000000..db2f34a3e
--- /dev/null
+++ b/openembedded/packages/linux/linux-openzaurus-2.6.16/integrator_rgb-r0.patch
@@ -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,
+ };
diff --git a/openembedded/packages/linux/linux-openzaurus_2.6.16.bb b/openembedded/packages/linux/linux-openzaurus_2.6.16.bb
index dfd242f3a..00eb85ca0 100644
--- a/openembedded/packages/linux/linux-openzaurus_2.6.16.bb
+++ b/openembedded/packages/linux/linux-openzaurus_2.6.16.bb
@@ -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 \