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 <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-05-23 14:06:41 +01:00
parent ca1f2dbd8e
commit a07abd67da
4 changed files with 19 additions and 3 deletions

12
lib/efi/Kconfig Normal file
View File

@@ -0,0 +1,12 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Copyright 2025 Simon Glass <sjg@chromium.org>
#
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.