summaryrefslogtreecommitdiff
path: root/packages/linux/linux-2.6.25/cm-x270/0005-add-display-set-default-16bpp.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/linux/linux-2.6.25/cm-x270/0005-add-display-set-default-16bpp.patch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/linux/linux-2.6.25/cm-x270/0005-add-display-set-default-16bpp.patch')
-rw-r--r--packages/linux/linux-2.6.25/cm-x270/0005-add-display-set-default-16bpp.patch82
1 files changed, 0 insertions, 82 deletions
diff --git a/packages/linux/linux-2.6.25/cm-x270/0005-add-display-set-default-16bpp.patch b/packages/linux/linux-2.6.25/cm-x270/0005-add-display-set-default-16bpp.patch
deleted file mode 100644
index b16b7e9149..0000000000
--- a/packages/linux/linux-2.6.25/cm-x270/0005-add-display-set-default-16bpp.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-From a70bd453457fe59f87ec1c06fbf49ab56dc71008 Mon Sep 17 00:00:00 2001
-From: Cliff Brake <cbrake@bec-systems.com>
-Date: Wed, 27 Feb 2008 16:44:42 -0500
-Subject: [PATCH] add-display-set-default-16bpp
-
----
- arch/arm/mach-pxa/cm-x270.c | 31 +++++++++++++++++++++++++++++--
- 1 files changed, 29 insertions(+), 2 deletions(-)
-
-diff --git a/arch/arm/mach-pxa/cm-x270.c b/arch/arm/mach-pxa/cm-x270.c
-index 0487aee..1aec199 100644
---- a/arch/arm/mach-pxa/cm-x270.c
-+++ b/arch/arm/mach-pxa/cm-x270.c
-@@ -259,6 +259,7 @@ static struct map_desc cmx270_io_desc[] __initdata = {
- #define MTYPE_CRT800x600 3
- #define MTYPE_TFT320x240 6
- #define MTYPE_STN640x480 7
-+#define MTYPE_TFT640x480_SHARP 8
-
- static struct pxafb_mode_info generic_stn_320x240_mode = {
- .pixclock = 76923,
-@@ -289,7 +290,7 @@ static struct pxafb_mach_info generic_stn_320x240 = {
-
- static struct pxafb_mode_info generic_tft_640x480_mode = {
- .pixclock = 38461,
-- .bpp = 8,
-+ .bpp = 16,
- .xres = 640,
- .yres = 480,
- .hsync_len = 60,
-@@ -315,7 +316,7 @@ static struct pxafb_mach_info generic_tft_640x480 = {
-
- static struct pxafb_mode_info generic_crt_640x480_mode = {
- .pixclock = 38461,
-- .bpp = 8,
-+ .bpp = 16,
- .xres = 640,
- .yres = 480,
- .hsync_len = 63,
-@@ -417,6 +418,29 @@ static struct pxafb_mach_info generic_stn_640x480 = {
- .cmap_static = 0,
- };
-
-+
-+static struct pxafb_mode_info sharp_vga_tft_mode = {
-+ .pixclock = 38461,
-+ .bpp = 16,
-+ .xres = 640,
-+ .yres = 480,
-+ .hsync_len = 60,
-+ .vsync_len = 2,
-+ .left_margin = 72,
-+ .upper_margin = 32,
-+ .right_margin = 72,
-+ .lower_margin = 10,
-+ .sync = 0,
-+};
-+
-+static struct pxafb_mach_info sharp_vga_tft = {
-+ .modes = &sharp_vga_tft_mode,
-+ .num_modes = 1,
-+ .lccr0 = (LCCR0_PAS),
-+ .lccr3 = (LCCR3_PixClkDiv(0x01) |
-+ LCCR3_Acb(0xff)),
-+};
-+
- static struct pxafb_mach_info *cmx270_display = &generic_crt_640x480;
-
- static int __init cmx270_set_display(char *str)
-@@ -438,6 +462,9 @@ static int __init cmx270_set_display(char *str)
- case MTYPE_TFT320x240:
- cmx270_display = &generic_tft_320x240;
- break;
-+ case MTYPE_TFT640x480_SHARP:
-+ cmx270_display = &sharp_vga_tft;
-+ break;
- case MTYPE_STN640x480:
- cmx270_display = &generic_stn_640x480;
- break;
---
-1.5.4.rc4
-