summaryrefslogtreecommitdiff
path: root/cmd/fastboot
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2016-11-13 21:26:13 (GMT)
committerTom Rini <trini@konsulko.com>2016-11-21 19:07:33 (GMT)
commitc294873179ea3a9eb2c51c23f78f2dfae92e4a2d (patch)
treecb1ecfce147aa74dd8d5312a2e030ff67e6c5084 /cmd/fastboot
parent12262340d5181cbaef1d60364bc9e7b2b632b6e6 (diff)
downloadu-boot-fsl-qoriq-c294873179ea3a9eb2c51c23f78f2dfae92e4a2d.tar.xz
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>
Diffstat (limited to 'cmd/fastboot')
-rw-r--r--cmd/fastboot/Kconfig9
1 files changed, 4 insertions, 5 deletions
diff --git a/cmd/fastboot/Kconfig b/cmd/fastboot/Kconfig
index d555d0a..89b9e73 100644
--- a/cmd/fastboot/Kconfig
+++ b/cmd/fastboot/Kconfig
@@ -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