boot: Make standard boot a menu

Collect these options into a menu for easier viewing.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Simon Glass 2023-09-14 10:55:53 -06:00 committed by Tom Rini
parent 4d8ea26f99
commit 4a8fcb6e0b

View file

@ -372,8 +372,8 @@ config BOOT_DEFAULTS
of U-Boot to boot various images. Currently much functionality is of U-Boot to boot various images. Currently much functionality is
tied to enabling the command that exercises it. tied to enabling the command that exercises it.
config BOOTSTD menuconfig BOOTSTD
bool "Standard boot support" bool "Standard boot"
default y default y
depends on DM && OF_CONTROL && BLK depends on DM && OF_CONTROL && BLK
help help
@ -393,6 +393,8 @@ config BOOTSTD
U-Boot) U-Boot)
- bootflow - a description of how to boot (owned by the distro) - bootflow - a description of how to boot (owned by the distro)
if BOOTSTD
config SPL_BOOTSTD config SPL_BOOTSTD
bool "Standard boot support in SPL" bool "Standard boot support in SPL"
depends on SPL && SPL_DM && SPL_OF_CONTROL && SPL_BLK depends on SPL && SPL_DM && SPL_OF_CONTROL && SPL_BLK
@ -413,8 +415,6 @@ config VPL_BOOTSTD
boot. It is enabled by default since the main purpose of VPL is to boot. It is enabled by default since the main purpose of VPL is to
handle the firmware part of VBE. handle the firmware part of VBE.
if BOOTSTD
config BOOTSTD_FULL config BOOTSTD_FULL
bool "Enhanced features for standard boot" bool "Enhanced features for standard boot"
default y if SANDBOX default y if SANDBOX
@ -673,7 +673,7 @@ config BOOTMETH_SCRIPT
This provides a way to try out standard boot on an existing boot flow. This provides a way to try out standard boot on an existing boot flow.
It is not enabled by default to save space. It is not enabled by default to save space.
endif endif # BOOTSTD
config LEGACY_IMAGE_FORMAT config LEGACY_IMAGE_FORMAT
bool "Enable support for the legacy image format" bool "Enable support for the legacy image format"