[PATCH v2 3/5] dts: Correct entry for OF_OMIT_DTB
Tom Rini <[email protected]>
| Newsgroups | org.u-boot-project.lists.u-boot |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> --- dts/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dts/Kconfig b/dts/Kconfig index b7a2d12a73b5..a2973ef40860 100644 --- a/dts/Kconfig +++ b/dts/Kconfig @@ -213,8 +213,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