From cc5ca2f2471e10d40b9e49b276dbf87225a1538f Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 25 May 2006 08:28:41 +0000 Subject: 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 --- .../linux/linux-openzaurus-2.6.16/integrator_rgb-r0.patch | 13 +++++++++++++ openembedded/packages/linux/linux-openzaurus_2.6.16.bb | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 openembedded/packages/linux/linux-openzaurus-2.6.16/integrator_rgb-r0.patch 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 \ -- cgit v1.2.3