efi: Rearrange the Kconfig for CMD_BOOTEFI_BOOTMGR
The command should not be used to enable library functionality. Add a new BOOTEFI_BOOTMGR Kconfig for that. Adjust the conditions so that the same code is built. Signed-off-by: Simon Glass <sjg@chromium.org> Suggested-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
This commit is contained in:
@@ -32,14 +32,14 @@ config EFI_LOADER
|
||||
|
||||
if EFI_LOADER
|
||||
|
||||
config CMD_BOOTEFI_BOOTMGR
|
||||
config BOOTEFI_BOOTMGR
|
||||
bool "UEFI Boot Manager"
|
||||
default y
|
||||
select BOOTMETH_GLOBAL if BOOTSTD
|
||||
help
|
||||
Select this option if you want to select the UEFI binary to be booted
|
||||
via UEFI variables Boot####, BootOrder, and BootNext. This enables the
|
||||
'bootefi bootmgr' command.
|
||||
via UEFI variables Boot####, BootOrder, and BootNext. You should also
|
||||
normally enable CMD_BOOTEFI_BOOTMGR so that the command is available.
|
||||
|
||||
choice
|
||||
prompt "Store for non-volatile UEFI variables"
|
||||
|
||||
Reference in New Issue
Block a user