From: Tom Rini Date: Mon, 23 Mar 2026 19:53:13 +0000 (-0600) Subject: tpl: Correct dependencies for TPL_OF_CONTROL X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9eb3592cbcb318a84c8ed29e432dc01c69a2bc75;p=thirdparty%2Fu-boot.git 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 --- diff --git a/dts/Kconfig b/dts/Kconfig index 169abe60783..6b501c2239e 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