dts: Correct entry for OF_OMIT_DTB

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@konsulko.com>
This commit is contained in:
Tom Rini
2026-05-12 19:51:05 -06:00
parent 8184621696
commit 941a06b1b6

View File

@@ -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