summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-2.6.29+2.6.30-rc4
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2009-07-17 17:26:38 +0200
committerFlorian Boor <florian.boor@kernelconcepts.de>2009-07-17 17:33:09 +0200
commite6382dccd41541551bebc1d78cee953bb4b4a85e (patch)
treef05df8e79d9a8eaa579607ff6b087d00c65dbfde /recipes/linux/linux-2.6.29+2.6.30-rc4
parentd08c79150d7c98e43965e788c50fc097b12ce123 (diff)
linux: add patch to a get rid of the horribly broken default TX25 video mode
Diffstat (limited to 'recipes/linux/linux-2.6.29+2.6.30-rc4')
-rw-r--r--recipes/linux/linux-2.6.29+2.6.30-rc4/tx25/stk5-baseboard_c_vesa640.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes/linux/linux-2.6.29+2.6.30-rc4/tx25/stk5-baseboard_c_vesa640.patch b/recipes/linux/linux-2.6.29+2.6.30-rc4/tx25/stk5-baseboard_c_vesa640.patch
new file mode 100644
index 0000000000..c3eb357dda
--- /dev/null
+++ b/recipes/linux/linux-2.6.29+2.6.30-rc4/tx25/stk5-baseboard_c_vesa640.patch
@@ -0,0 +1,40 @@
+--- a/arch/arm/mach-mx2/stk5-baseboard.c.orig 2009-07-17 00:57:10.000000000 +0200
++++ b/arch/arm/mach-mx2/stk5-baseboard.c 2009-07-16 13:02:20.000000000 +0200
+@@ -613,6 +613,37 @@
+
+ static struct imx_fb_platform_data stk5_fb_data[] __initdata = {
+ {
++ /* VESA 640x480@60 */
++ .init = stk5_gpio_lcdc_active,
++ .exit = stk5_gpio_lcdc_inactive,
++ .lcd_power = NULL,
++ .backlight_power = NULL,
++
++ .pixclock = 39721,
++
++ .xres = 640,
++ .yres = 480,
++
++ .bpp = 16,
++
++ .hsync_len = 64,
++ .right_margin = 24,
++ .left_margin = 40,
++
++ .vsync_len = 2,
++ .lower_margin = 11,
++ .upper_margin = 32,
++
++ .pcr = PCR_TFT | PCR_COLOR | PCR_PBSIZ_8 |
++ PCR_BPIX_16 | PCR_FLMPOL | PCR_LPPOL | PCR_SCLK_SEL,
++ .dmacr = 0x80040060,
++
++ .cmap_greyscale = 0,
++ .cmap_inverse = 0,
++ .cmap_static = 0,
++
++ .fixed_screen_cpu = NULL,
++ }, {
+ #if 1
+ //.fb_mode = "Xenarc_700_Y-18",
+ .init = stk5_gpio_lcdc_active,