fastboot: simplify the Kconfig logic
[oweals/u-boot.git] / cmd / fastboot / Kconfig
index d555d0a7ee419a803346280c8babea808490e631..89b9e73440c8dd7ab0082ac550f4b72378c62c24 100644 (file)
@@ -1,10 +1,9 @@
 comment "FASTBOOT"
 
-config FASTBOOT
-       bool ""
+menuconfig FASTBOOT
+       bool "Fastboot support"
 
-menu "Fastboot support"
-       depends on FASTBOOT
+if FASTBOOT
 
 config USB_FUNCTION_FASTBOOT
        bool "Enable USB fastboot gadget"
@@ -89,4 +88,4 @@ config FASTBOOT_MBR_NAME
 
 endif # USB_FUNCTION_FASTBOOT
 
-endmenu
+endif # FASTBOOT