diff options
author | Philip Balister <philip@balister.org> | 2008-03-05 19:21:35 +0000 |
---|---|---|
committer | Philip Balister <philip@balister.org> | 2008-03-05 19:21:35 +0000 |
commit | 4027cc9fe53ce963f7683c3e266c5557468eb775 (patch) | |
tree | aee0d23e0b69a7e55e41e6492db7462eedec0c3c /packages/linux/gumstix-kernel-2.6.21/pxafb-backto16.patch | |
parent | 64197d831371bd8450d65a9349be5ab55f366f59 (diff) |
gumstix-verdex,connex : Copy machine and kernel updates direct from gumstix.com
OE based build system.
Diffstat (limited to 'packages/linux/gumstix-kernel-2.6.21/pxafb-backto16.patch')
-rw-r--r-- | packages/linux/gumstix-kernel-2.6.21/pxafb-backto16.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/linux/gumstix-kernel-2.6.21/pxafb-backto16.patch b/packages/linux/gumstix-kernel-2.6.21/pxafb-backto16.patch new file mode 100644 index 0000000000..a8b91daf37 --- /dev/null +++ b/packages/linux/gumstix-kernel-2.6.21/pxafb-backto16.patch @@ -0,0 +1,40 @@ +--- linux-2.6.21/arch/arm/mach-pxa/gumstix.c-orig 2008-02-20 16:18:57.000000000 -0800 ++++ linux-2.6.21/arch/arm/mach-pxa/gumstix.c 2008-02-20 16:21:21.000000000 -0800 +@@ -146,8 +146,7 @@ + .pixclock = 110000, + .xres = 480, + .yres = 272, +- .bpp = 18, +- .nonstd = 24, ++ .bpp = 16, + .hsync_len = 41, + .left_margin = 2, + .right_margin = 2, +@@ -161,7 +160,7 @@ + .modes = &gumstix_fb_mode, + .num_modes = 1, + .lccr0 = LCCR0_Act | LCCR0_Sngl | LCCR0_Color, +- .lccr3 = LCCR3_OutEnH | LCCR3_PixFlEdg | (3 << 30), ++ .lccr3 = LCCR3_OutEnH | LCCR3_PixFlEdg | (0 << 30), + .pxafb_backlight_power = &gumstix_lcd_backlight, + }; + #elif defined(CONFIG_FB_PXA_SAMSUNG_LTE430WQ_F0C) +@@ -175,8 +174,7 @@ + .vsync_len = 10, // VLW from datasheet: 10 typ + .upper_margin = 2, // VBP - VLW from datasheet: 12 - 10 = 2 + .lower_margin = 4, // VFP from datasheet: 4 typ +- .bpp = 18, +- .nonstd = 24, ++ .bpp = 16, + .sync = 0, // Hsync and Vsync both active low + }; + +@@ -184,7 +182,7 @@ + .modes = &gumstix_fb_mode, + .num_modes = 1, + .lccr0 = LCCR0_Act | LCCR0_Sngl | LCCR0_Color, +- .lccr3 = LCCR3_OutEnH | LCCR3_PixFlEdg | (3 << 30), ++ .lccr3 = LCCR3_OutEnH | LCCR3_PixFlEdg | (0 << 30), + .pxafb_backlight_power = &gumstix_lcd_backlight, + }; + #endif |