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.

Signed-off-by: Tom Rini <[email protected]>
---
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
---
 lib/efi_loader/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index 58d49789f12c..f41447f2b45c 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
-- 
2.43.0

Reply via email to