tpl: Correct dependencies for TPL_OF_CONTROL
PATCH 1/1 tpl: Correct dependencies for TPL_OF_CONTROL
The TPL_OF_CONTROL option can only select TPL_OF_LIBFDT functionality if we also have enabled TPL_LIBGENERIC_SUPPORT, so express this dependency in Kconfig.
Signed-off-by Tom Rini <[email protected]>
---
This is a step in the right direction, I think. There is however a larger web to untangle here.
--- dts/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
dts/Kconfig +1 -1
@@ -59,7 +59,7 @@ config SPL_OF_CONTROL config TPL_OF_CONTROL bool "Enable run-time configuration via Device Tree in TPL" depends on TPL && OF_CONTROL - select TPL_OF_LIBFDT if !TPL_OF_PLATDATA + select TPL_OF_LIBFDT if !TPL_OF_PLATDATA && TPL_LIBGENERIC_SUPPORT select TPL_OF_REAL if !TPL_OF_PLATDATA help Some boards use device tree in U-Boot but only have 4KB of SRAM
Signature · 1 line
2.43.0
Quoted 5 lines · Tom Rini
The
TPL_OF_CONTROLoption can only selectTPL_OF_LIBFDTfunctionality if we also have enabledTPL_LIBGENERIC_SUPPORT, so express this dependency inKconfig.
Applied to u-boot/master, thanks!
[1/1] tpl: Correct dependencies for TPL_OF_CONTROL
commit: 9eb3592cbcb318a84c8ed29e432dc01c69a2bc75
Signature · 1 line
Tom