summaryrefslogtreecommitdiff
path: root/dts/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Kconfig')
-rw-r--r--dts/Kconfig5
1 files changed, 2 insertions, 3 deletions
diff --git a/dts/Kconfig b/dts/Kconfig
index d56d94679f5..a2973ef4086 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
@@ -224,7 +223,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.