summaryrefslogtreecommitdiff
path: root/lib/efi_loader
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2025-05-28 10:03:16 -0600
committerHeinrich Schuchardt <[email protected]>2025-07-26 07:34:31 +0200
commit81ce639e61c990e4d3b88cc975bf552e8b509090 (patch)
treeadb90125802c29a1a57da82378ca2f2fb741e513 /lib/efi_loader
parent0029f2447bd4fac23d0ec6107c0b911c50c2c334 (diff)
efi: Create a new CONFIG_EFI
Create a Kconfig which indicates that EFI functionality is in use, either as a client (EFI app / stub) or provider (EFI loader). This will make it easier to share code between these two parts of U-Boot Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'lib/efi_loader')
-rw-r--r--lib/efi_loader/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index 250b9469134..c2aa88f59fb 100644
--- a/lib/efi_loader/Kconfig
+++ b/lib/efi_loader/Kconfig
@@ -16,6 +16,7 @@ config EFI_LOADER
depends on !EFI_STUB || !X86 || X86_64 || EFI_STUB_32BIT
depends on !EFI_APP
default y if !ARM || SYS_CPU = armv7 || SYS_CPU = armv8
+ select EFI
select CHARSET
# We need to send DM events, dynamically, in the EFI block driver
select DM_EVENT
@@ -597,4 +598,6 @@ endif
source "lib/efi_client/Kconfig"
+source "lib/efi/Kconfig"
+
endmenu