diff options
author | Simon Glass | 2023-10-26 14:31:20 -0400 |
---|---|---|
committer | Tom Rini | 2023-11-07 14:48:51 -0500 |
commit | 422822cfc02d0215205dc499be55f8feb69c3d06 (patch) | |
tree | c8dfb1310223477fc8ff62434b6c1bf2debe4cfd /cmd | |
parent | 2cb52fbf1da88b78f8dd2e32b73fcaf80496e360 (diff) |
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>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/Kconfig | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 0ad56f6782f..1ba6a38e783 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -378,6 +378,15 @@ config CMD_BOOTEFI help Boot an EFI image from memory. +config CMD_BOOTEFI_BOOTMGR + bool "UEFI Boot Manager command" + depends on BOOTEFI_BOOTMGR && CMD_BOOTEFI + default y + help + Select this option to enable the 'bootmgr' subcommand of 'bootefi'. + This subcommand will allow you to select the UEFI binary to be booted + via UEFI variables Boot####, BootOrder, and BootNext. + config CMD_BOOTEFI_HELLO_COMPILE bool "Compile a standard EFI hello world binary for testing" depends on CMD_BOOTEFI && !CPU_V7M @@ -2128,7 +2137,7 @@ config CMD_EFIDEBUG config CMD_EFICONFIG bool "eficonfig - provide menu-driven uefi variables maintenance interface" default y if !HAS_BOARD_SIZE_LIMIT - depends on CMD_BOOTEFI_BOOTMGR + depends on BOOTEFI_BOOTMGR select MENU help Enable the 'eficonfig' command which provides the menu-driven UEFI |