bootstd: Make BOOTSTD_FULL depend on BOOTSTD
Move BOOTSTD_FULL down in the file so that it can be enabled only when BOOTSTD is enabled. This prevents a build error if BOOTSTD is disabled but BOOTSTD_FULL is enabled. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
parent
89d8c56f44
commit
bcb1d269a4
1 changed files with 13 additions and 13 deletions
26
boot/Kconfig
26
boot/Kconfig
|
@ -397,19 +397,6 @@ 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)
|
||||||
|
|
||||||
config BOOTSTD_FULL
|
|
||||||
bool "Enhanced features for standard boot"
|
|
||||||
default y if SANDBOX
|
|
||||||
help
|
|
||||||
This enables various useful features for standard boot, which are not
|
|
||||||
essential for operation:
|
|
||||||
|
|
||||||
- bootdev, bootmeth commands
|
|
||||||
- extra features in the bootflow command
|
|
||||||
- support for selecting the ordering of bootmeths ("bootmeth order")
|
|
||||||
- support for selecting the ordering of bootdevs using the devicetree
|
|
||||||
as well as the "boot_targets" environment variable
|
|
||||||
|
|
||||||
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
|
||||||
|
@ -432,6 +419,19 @@ config VPL_BOOTSTD
|
||||||
|
|
||||||
if BOOTSTD
|
if BOOTSTD
|
||||||
|
|
||||||
|
config BOOTSTD_FULL
|
||||||
|
bool "Enhanced features for standard boot"
|
||||||
|
default y if SANDBOX
|
||||||
|
help
|
||||||
|
This enables various useful features for standard boot, which are not
|
||||||
|
essential for operation:
|
||||||
|
|
||||||
|
- bootdev, bootmeth commands
|
||||||
|
- extra features in the bootflow command
|
||||||
|
- support for selecting the ordering of bootmeths ("bootmeth order")
|
||||||
|
- support for selecting the ordering of bootdevs using the devicetree
|
||||||
|
as well as the "boot_targets" environment variable
|
||||||
|
|
||||||
config BOOTSTD_DEFAULTS
|
config BOOTSTD_DEFAULTS
|
||||||
bool "Select some common defaults for standard boot"
|
bool "Select some common defaults for standard boot"
|
||||||
depends on BOOTSTD
|
depends on BOOTSTD
|
||||||
|
|
Loading…
Reference in a new issue