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 <[email protected]>
---
 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

Reply via email to