
From: Simon Glass <sjg@chromium.org> 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> --- lib/efi/Kconfig | 10 ++++++++++ lib/efi_loader/Kconfig | 9 --------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/lib/efi/Kconfig b/lib/efi/Kconfig index fc6d5b6d6c2..16de786b1e2 100644 --- a/lib/efi/Kconfig +++ b/lib/efi/Kconfig @@ -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. diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig index 80549382694..6f67e4897f3 100644 --- a/lib/efi_loader/Kconfig +++ b/lib/efi_loader/Kconfig @@ -39,15 +39,6 @@ config EFI_LOADER if EFI_LOADER -config EFI_BINARY_EXEC - bool "Execute UEFI binary" - default y - 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. - config EFI_SECURE_BOOT bool "Enable EFI secure boot support" depends on EFI_LOADER && FIT_SIGNATURE -- 2.43.0