summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-23 13:53:13 -0600
committerTom Rini <[email protected]>2026-04-07 11:32:52 -0600
commit9eb3592cbcb318a84c8ed29e432dc01c69a2bc75 (patch)
tree92c341766e632c6456951c6da7887f00773b8524
parent3fe899fbeae62b8408c1e70532fe58cdab959dd0 (diff)
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]>
-rw-r--r--dts/Kconfig2
1 files changed, 1 insertions, 1 deletions
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