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>
This commit is contained in:
Tom Rini 2024-11-15 10:53:58 -06:00
parent 26a2b69b24
commit 4b0cf71639

View file

@ -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