[PATCH 5/7] dts: Correct entry for OF_OMIT_DTB
Tom Rini
trini at konsulko.com
Wed Jul 8 03:25:15 CEST 2026
When we omit writing a device tree file is not something that should be
prompted for but rather it should be selected when needed, and the
"default y if ..." conditions should be used for when this should be
enabled without being selected.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
dts/Kconfig | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dts/Kconfig b/dts/Kconfig
index 2eb48223de2b..7457e0a5bb2e 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
@@ -205,8 +205,7 @@ config OF_HAS_PRIOR_STAGE
disabled in the board's defconfig file.
config OF_OMIT_DTB
- bool "Omit the device tree output when building"
- default y if OF_HAS_PRIOR_STAGE && !BINMAN
+ def_bool y if OF_HAS_PRIOR_STAGE && !BINMAN
help
As a special case, avoid writing a device tree file u-boot.dtb when
building. Also don't include that file in u-boot.bin
--
2.43.0
More information about the U-Boot
mailing list