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: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
12262340d5
commit
c294873179
|
|
@ -1,10 +1,9 @@
|
||||||
comment "FASTBOOT"
|
comment "FASTBOOT"
|
||||||
|
|
||||||
config FASTBOOT
|
menuconfig FASTBOOT
|
||||||
bool ""
|
bool "Fastboot support"
|
||||||
|
|
||||||
menu "Fastboot support"
|
if FASTBOOT
|
||||||
depends on FASTBOOT
|
|
||||||
|
|
||||||
config USB_FUNCTION_FASTBOOT
|
config USB_FUNCTION_FASTBOOT
|
||||||
bool "Enable USB fastboot gadget"
|
bool "Enable USB fastboot gadget"
|
||||||
|
|
@ -89,4 +88,4 @@ config FASTBOOT_MBR_NAME
|
||||||
|
|
||||||
endif # USB_FUNCTION_FASTBOOT
|
endif # USB_FUNCTION_FASTBOOT
|
||||||
|
|
||||||
endmenu
|
endif # FASTBOOT
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue