[backfire] backport r28376
[openwrt-10.03/.git] / target / linux / xburst / patches-2.6.32 / 051-fb.patch
1 From 5777849c788174f7de3bd9e14105af52f916ef5b Mon Sep 17 00:00:00 2001
2 From: Lars-Peter Clausen <lars@metafoo.de>
3 Date: Mon, 11 Jan 2010 04:29:38 +0100
4 Subject: [PATCH] /opt/Projects/openwrt/target/linux/xburst/patches-2.6.31/051-fb.patch
5
6 ---
7  drivers/video/Kconfig  |    9 +++++++++
8  drivers/video/Makefile |    1 +
9  2 files changed, 10 insertions(+), 0 deletions(-)
10
11 --- a/drivers/video/Kconfig
12 +++ b/drivers/video/Kconfig
13 @@ -2160,6 +2160,15 @@ config FB_BROADSHEET
14           and could also have been called by other names when coupled with
15           a bridge adapter.
16  
17 +config FB_JZ4740
18 +       tristate "JZ47420/JZ4740 LCD framebuffer support"
19 +       depends on FB
20 +       select FB_SYS_FILLRECT
21 +       select FB_SYS_COPYAREA
22 +       select FB_SYS_IMAGEBLIT
23 +       help
24 +         Framebuffer support for the JZ4720 and JZ4740 SoC.
25 +
26  source "drivers/video/omap/Kconfig"
27  
28  source "drivers/video/backlight/Kconfig"
29 --- a/drivers/video/Makefile
30 +++ b/drivers/video/Makefile
31 @@ -128,6 +128,7 @@ obj-$(CONFIG_XEN_FBDEV_FRONTEND)  += xen
32  obj-$(CONFIG_FB_CARMINE)          += carminefb.o
33  obj-$(CONFIG_FB_MB862XX)         += mb862xx/
34  obj-$(CONFIG_FB_MSM)              += msm/
35 +obj-$(CONFIG_FB_JZ4740)                  += jz4740_fb.o
36  
37  # Platform or fallback drivers go here
38  obj-$(CONFIG_FB_UVESA)            += uvesafb.o