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(-) diff --git a/dts/Kconfig b/dts/Kconfig index 169abe607837..6b501c2239ed 100644 --- a/dts/Kconfig +++ b/dts/Kconfig @@ -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 -- 2.43.0

