video: rk29: add FB_WIMO config
author黄涛 <huangtao@rock-chips.com>
Thu, 1 Dec 2011 08:50:13 +0000 (16:50 +0800)
committer黄涛 <huangtao@rock-chips.com>
Thu, 1 Dec 2011 09:38:23 +0000 (17:38 +0800)
drivers/video/Kconfig
drivers/video/rk29_fb.h

index 975175ecb1605e320a2d672d1ef85cc5d5e5665b..ce7ba837987f7b9cf435de5356445aa7158396a3 100755 (executable)
@@ -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
index 07146384cd0c54ad7c29fc4cbbc9445857459b1e..fc0e0f139ba1f1461543ef1e1b5281171baccdaf 100644 (file)
 
 #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