summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"