summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-02-14 21:15:03 +0000
committerRichard Purdie <richard@openedhand.com>2008-02-14 21:15:03 +0000
commitfb40ee0f4c07e1b75091b692085d94c76666a4fe (patch)
treea630285ebac9aae8f5b571656c9f8024990edec1
parent1bb290aee1e538e63038725c95e3fb7cde4eb4e1 (diff)
downloadpoky-fb40ee0f4c07e1b75091b692085d94c76666a4fe.tar.gz
linux-2.6.23: Add 16bpp tweak to cm-x270 kernels so it uses 16bpp instead of 8bpp
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3809 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/linux/linux-2.6.23/cm-x270/16bpp.patch13
-rw-r--r--meta/packages/linux/linux_2.6.23.bb5
2 files changed, 16 insertions, 2 deletions
diff --git a/meta/packages/linux/linux-2.6.23/cm-x270/16bpp.patch b/meta/packages/linux/linux-2.6.23/cm-x270/16bpp.patch
new file mode 100644
index 0000000000..6f038e35d0
--- /dev/null
+++ b/meta/packages/linux/linux-2.6.23/cm-x270/16bpp.patch
@@ -0,0 +1,13 @@
1Index: linux-2.6.23/arch/arm/mach-pxa/cm-x270.c
2===================================================================
3--- linux-2.6.23.orig/arch/arm/mach-pxa/cm-x270.c 2008-02-14 20:32:28.000000000 +0000
4+++ linux-2.6.23/arch/arm/mach-pxa/cm-x270.c 2008-02-14 20:27:55.000000000 +0000
5@@ -383,7 +383,7 @@
6
7 static struct pxafb_mode_info generic_crt_640x480_mode = {
8 .pixclock = 38461,
9- .bpp = 8,
10+ .bpp = 16,
11 .xres = 640,
12 .yres = 480,
13 .hsync_len = 63,
diff --git a/meta/packages/linux/linux_2.6.23.bb b/meta/packages/linux/linux_2.6.23.bb
index b99d29788b..8c525d6e80 100644
--- a/meta/packages/linux/linux_2.6.23.bb
+++ b/meta/packages/linux/linux_2.6.23.bb
@@ -7,7 +7,7 @@ DEFAULT_PREFERENCE_em-x270 = "1"
7DEFAULT_PREFERENCE_mpc8313e-rdb = "1" 7DEFAULT_PREFERENCE_mpc8313e-rdb = "1"
8DEFAULT_PREFERENCE_mpc8323e-rdb = "1" 8DEFAULT_PREFERENCE_mpc8323e-rdb = "1"
9 9
10PR = "r4" 10PR = "r5"
11 11
12SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.23.tar.bz2 \ 12SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.23.tar.bz2 \
13 file://binutils-buildid-arm.patch;patch=1 \ 13 file://binutils-buildid-arm.patch;patch=1 \
@@ -25,7 +25,8 @@ SRC_URI_append_cm-x270 = "\
25 file://0005-cm-x270-pcmcia.patch;patch=1 \ 25 file://0005-cm-x270-pcmcia.patch;patch=1 \
26 file://0006-ramdisk_load.patch;patch=1 \ 26 file://0006-ramdisk_load.patch;patch=1 \
27 file://0007-mmcsd_large_cards-r0.patch;patch=1 \ 27 file://0007-mmcsd_large_cards-r0.patch;patch=1 \
28 file://0008-cm-x270-nand-simplify-name.patch;patch=1" 28 file://0008-cm-x270-nand-simplify-name.patch;patch=1 \
29 file://16bpp.patch;patch=1"
29 30
30CMDLINE_cm-x270 = "console=${CMX270_CONSOLE_SERIAL_PORT},38400 monitor=8 bpp=16 mem=64M mtdparts=physmap-flash.0:256k(boot)ro,0x180000(kernel),-(root);cm-x270-nand:64m(app),-(data) rdinit=/sbin/init root=mtd3 rootfstype=jffs2" 31CMDLINE_cm-x270 = "console=${CMX270_CONSOLE_SERIAL_PORT},38400 monitor=8 bpp=16 mem=64M mtdparts=physmap-flash.0:256k(boot)ro,0x180000(kernel),-(root);cm-x270-nand:64m(app),-(data) rdinit=/sbin/init root=mtd3 rootfstype=jffs2"
31 32