efi: Move EFI_BINARY_EXEC to lib/efi

The EFI app will eventually execute binaries, but it does not enable
the CONFIG_EFI_LOADER option. So move the option to a common directory.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-08-05 16:18:58 -06:00
parent 0d481b9ff7
commit 92aad5b59e
2 changed files with 10 additions and 9 deletions

View File

@@ -10,3 +10,13 @@ config EFI
EFI_LOADER
This is used to provide libraries shared by both.
config EFI_BINARY_EXEC
bool "Execute UEFI binary"
default y
depends on EFI_LOADER
help
Select this option if you want to execute the UEFI binary after
loading it with U-Boot load commands or other methods.
You may enable CMD_BOOTEFI_BINARY so that you can use bootefi
command to do that.