summaryrefslogtreecommitdiff
path: root/lib/efi
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
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')
-rw-r--r--lib/efi/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/efi/Kconfig b/lib/efi/Kconfig
new file mode 100644
index 00000000000..fc6d5b6d6c2
--- /dev/null
+++ b/lib/efi/Kconfig
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
+# Copyright 2025 Simon Glass <[email protected]>
+#
+
+config EFI
+ bool
+ help
+ Indicates that EFI functionality is enabled, either via EFI_CLIENT or
+ EFI_LOADER
+
+ This is used to provide libraries shared by both.