linux-tx09: add patch to make xorg work
authorFlorian Boor <florian@kernelconcepts.de>
Fri, 21 Jun 2013 23:22:12 +0000 (01:22 +0200)
committerFlorian Boor <florian@kernelconcepts.de>
Fri, 21 Jun 2013 23:22:12 +0000 (01:22 +0200)
recipes-kernel/linux/files/topasa900/pixclock.patch [new file with mode: 0644]
recipes-kernel/linux/linux-tx09_git.bb

diff --git a/recipes-kernel/linux/files/topasa900/pixclock.patch b/recipes-kernel/linux/files/topasa900/pixclock.patch
new file mode 100644 (file)
index 0000000..f78d0cc
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/drivers/video/tmpa9xx-clcd.c b/drivers/video/tmpa9xx-clcd.c
+index c23f9ea..5731701 100644
+--- a/drivers/video/tmpa9xx-clcd.c
++++ b/drivers/video/tmpa9xx-clcd.c
+@@ -93,7 +93,7 @@ int tmpa9xx_clcd_check(struct clcd_fb *fb, struct fb_var_screeninfo *var)
+          (CHECK(xres)                 ||
+           CHECK(yres)                 ||
+           CHECK(bits_per_pixel)       ||
+-          CHECK(pixclock)             ||
++//        CHECK(pixclock)             ||
+           CHECK(left_margin)          ||
+           CHECK(right_margin)         ||
+           CHECK(upper_margin)         ||
index ed06db4..b470026 100644 (file)
@@ -1,14 +1,15 @@
 require recipes-kernel/linux/linux.inc
-
 DESCRIPTION = "Linux kernel for Toshiba TMPA9xx processors"
 KERNEL_IMAGETYPE = "uImage"
 
 COMPATIBLE_MACHINE = "(topasa900)"
 
 PV = "2.6.38"
+PR = "r1"
 SRCREV_pn-${PN} = "61a80b546fb6980e460e6c9134c232c7a3a08df9"
 
 SRC_URI += "git://git.labs.kernelconcepts.de/topas.git;protocol=git \
+            file://pixclock.patch \
             file://defconfig"
 
 S = "${WORKDIR}/git"