summaryrefslogtreecommitdiff
path: root/meta/packages/linux
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 /meta/packages/linux
parent1bb290aee1e538e63038725c95e3fb7cde4eb4e1 (diff)
downloadopenembedded-core-fb40ee0f4c07e1b75091b692085d94c76666a4fe.tar.gz
openembedded-core-fb40ee0f4c07e1b75091b692085d94c76666a4fe.tar.bz2
openembedded-core-fb40ee0f4c07e1b75091b692085d94c76666a4fe.zip
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
Diffstat (limited to 'meta/packages/linux')
-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 @@
+Index: linux-2.6.23/arch/arm/mach-pxa/cm-x270.c
+===================================================================
+--- linux-2.6.23.orig/arch/arm/mach-pxa/cm-x270.c 2008-02-14 20:32:28.000000000 +0000
++++ linux-2.6.23/arch/arm/mach-pxa/cm-x270.c 2008-02-14 20:27:55.000000000 +0000
+@@ -383,7 +383,7 @@
+
+ static struct pxafb_mode_info generic_crt_640x480_mode = {
+ .pixclock = 38461,
+- .bpp = 8,
++ .bpp = 16,
+ .xres = 640,
+ .yres = 480,
+ .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"
DEFAULT_PREFERENCE_mpc8313e-rdb = "1"
DEFAULT_PREFERENCE_mpc8323e-rdb = "1"
-PR = "r4"
+PR = "r5"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.23.tar.bz2 \
file://binutils-buildid-arm.patch;patch=1 \
@@ -25,7 +25,8 @@ SRC_URI_append_cm-x270 = "\
file://0005-cm-x270-pcmcia.patch;patch=1 \
file://0006-ramdisk_load.patch;patch=1 \
file://0007-mmcsd_large_cards-r0.patch;patch=1 \
- file://0008-cm-x270-nand-simplify-name.patch;patch=1"
+ file://0008-cm-x270-nand-simplify-name.patch;patch=1 \
+ file://16bpp.patch;patch=1"
CMDLINE_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"