[PATCH 4/7] dts: Make DEFAULT_DEVICE_TREE depend on !OF_OMIT_DTB

Tom Rini trini at konsulko.com
Wed Jul 8 03:25:14 CEST 2026


When we have configured the board to not omit a DTB as part of the
build, we should not have to say that we still need to build a default
DTB for the board.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 dts/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dts/Kconfig b/dts/Kconfig
index dcabe33c1c1a..2eb48223de2b 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
@@ -216,7 +216,7 @@ config OF_OMIT_DTB
 
 config DEFAULT_DEVICE_TREE
 	string "Default Device Tree for DT control"
-	depends on OF_CONTROL
+	depends on OF_CONTROL && !OF_OMIT_DTB
 	default "sandbox" if SANDBOX
 	help
 	  This option specifies the default Device Tree used for DT control.
-- 
2.43.0



More information about the U-Boot mailing list