Skip to content
Snippets Groups Projects
Commit c2948731 authored by Yann E. MORIN's avatar Yann E. MORIN Committed by Tom Rini
Browse files

fastboot: simplify the Kconfig logic


Currently, the fastboot item in menuconfig is a comment followed by a
boolean option withan empty prompt, followed by a menu:

        *** FASTBOOT ***
    [*]
          Fastboot support  --->

This is not "nice-looking" at all...

Change the logic to make the boolean option a "menuconfig" rather than a
mere "config", so that all dependent options gets groupped under a menu.
The layout is now:

        *** FASTBOOT ***
    [*] Fastboot support  --->

Signed-off-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Tested-by: default avatarSimon Glass <sjg@chromium.org>
parent 12262340
No related branches found
No related tags found
No related merge requests found
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment