diff mbox series

[2/3] efi_loader: Fix Kconfig logic around OF_LIBFDT

Message ID 20241115165400.2486914-2-trini@konsulko.com
State Accepted
Commit 4b0cf71639ac7c24d2e89242f4cbfe2af8b6c6fb
Delegated to: Simon Glass
Headers show
Series [1/3] aspeed: Fix Kconfig logic on "DM_REGULATOR" and ASPEED_AST2500 | expand

Commit Message

Tom Rini Nov. 15, 2024, 4:53 p.m. UTC
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 <trini@konsulko.com>
---
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>
---
 lib/efi_loader/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Heinrich Schuchardt Nov. 15, 2024, 7:53 p.m. UTC | #1
Am 15. November 2024 17:53:58 MEZ schrieb Tom Rini <trini@konsulko.com>:
>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 <trini@konsulko.com>

Acked-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

>---
>Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
>Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>
>---
> 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
diff mbox series

Patch

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