From: 黄涛 Date: Thu, 1 Dec 2011 08:50:13 +0000 (+0800) Subject: video: rk29: add FB_WIMO config X-Git-Tag: firefly_0821_release~9732^2~12 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ccb7efa1fdcc1c290f0bc624f9a83707fe08f6fe;p=firefly-linux-kernel-4.4.55.git video: rk29: add FB_WIMO config --- diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 975175ecb160..ce7ba837987f 100755 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -2118,6 +2118,10 @@ config CLOSE_WIN1_DYNAMIC ---help--- this function can close win1 when video and it have no data in fb0 +config FB_WIMO + bool "WiMo support" + depends on FB_RK29 + config FB_NUC900 bool "NUC900 LCD framebuffer support" depends on FB && ARCH_W90X900 diff --git a/drivers/video/rk29_fb.h b/drivers/video/rk29_fb.h index 07146384cd0c..fc0e0f139ba1 100644 --- a/drivers/video/rk29_fb.h +++ b/drivers/video/rk29_fb.h @@ -370,13 +370,16 @@ #define FB0_IOCTL_STOP_TIMER_FLUSH 0x6001 #define FB0_IOCTL_SET_PANEL 0x6002 -#define FB_WIMO_FLAG -#ifdef FB_WIMO_FLAG +#ifdef CONFIG_FB_WIMO +#define FB_WIMO_FLAG +#endif +#ifdef FB_WIMO_FLAG #define FB0_IOCTL_SET_BUF 0x6017 #define FB0_IOCTL_COPY_CURBUF 0x6018 #define FB0_IOCTL_CLOSE_BUF 0x6019 #endif + #define FB1_IOCTL_GET_PANEL_SIZE 0x5001 #define FB1_IOCTL_SET_YUV_ADDR 0x5002 //#define FB1_TOCTL_SET_MCU_DIR 0x5003