summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-11-15 10:53:58 -0600
committerTom Rini <trini@konsulko.com>2024-12-04 14:00:45 -0600
commit4b0cf71639ac7c24d2e89242f4cbfe2af8b6c6fb (patch)
treea037f9eee5ef58830196797a927c5b193578405b
parent26a2b69b2440d261a3fd814d37d023e704e92853 (diff)
efi_loader: Fix Kconfig logic around OF_LIBFDT
Given that OF_LIBFDT is library functionality, the feature of EFI_LOADER needs to select OF_LIBFDT rather than depend on it being already enabled. Acked-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--lib/efi_loader/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index 5c73457d9b9..c46ffe3a9d8 100644
--- a/lib/efi_loader/Kconfig
+++ b/lib/efi_loader/Kconfig
@@ -2,7 +2,7 @@ menu "UEFI Support"
config EFI_LOADER
bool "Support running UEFI applications"
- depends on OF_LIBFDT && ( \
+ depends on ( \
ARM && (SYS_CPU = arm1136 || \
SYS_CPU = arm1176 || \
SYS_CPU = armv7 || \
@@ -21,6 +21,7 @@ config EFI_LOADER
select EVENT_DYNAMIC
select LIB_UUID
select LMB
+ select OF_LIBFDT
imply PARTITION_UUIDS
select REGEX
imply FAT