efi_loader: Fix Kconfig logic around OF_LIBFDT
authorTom Rini <trini@konsulko.com>
Fri, 15 Nov 2024 16:53:58 +0000 (10:53 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 4 Dec 2024 20:00:45 +0000 (14:00 -0600)
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>
lib/efi_loader/Kconfig

index 5c73457..c46ffe3 100644 (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