[PATCH] Unify driver's menu also for video

Juergen Beisert jbe at pengutronix.de
Wed Nov 25 03:58:56 EST 2009


Make the video drivers menu the same like NAND and USB

Signed-off-by: Juergen Beisert <jbe at pengutronix.de>

---
 drivers/video/Kconfig |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Index: u-boot-v2/drivers/video/Kconfig
===================================================================
--- u-boot-v2.orig/drivers/video/Kconfig
+++ u-boot-v2/drivers/video/Kconfig
@@ -1,15 +1,16 @@
-menu "Video drivers                 "
+menuconfig VIDEO
+	bool "Video drivers                 "
+	help
+	  Add support for framebuffer and splash screens
 
-config VIDEO
-	bool "Enable Framebuffer support"
+if VIDEO
 
 config DRIVER_VIDEO_IMX
 	bool "i.MX framebuffer driver"
 	depends on ARCH_IMX
-	depends on VIDEO
 
 config IMXFB_DRIVER_VIDEO_IMX_OVERLAY
 	bool "i.MX framebuffer overlay support"
-	depends on DRIVER_VIDEO_IMX && (ARCH_IMX27 || ARCH_IMX21)
+	depends on ARCH_IMX27 || ARCH_IMX21
 
-endmenu
+endif

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |




More information about the barebox mailing list