From 70d41093c5d6d378a8e750d1829063890a3c7ca5 Mon Sep 17 00:00:00 2001
From: Simon Glass <sjg@chromium.org>
Date: Mon, 22 Feb 2016 22:55:44 -0700
Subject: fdt: Adjust DEFAULT_DEVICE_TREE to device on OF_CONTROL

This option has no meaning without OF_CONTROL, so add a dependency.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
 dts/Kconfig | 1 +
 1 file changed, 1 insertion(+)

(limited to 'dts')

diff --git a/dts/Kconfig b/dts/Kconfig
index d639be9a07..df068a1f93 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
@@ -53,6 +53,7 @@ endchoice
 
 config DEFAULT_DEVICE_TREE
 	string "Default Device Tree for DT control"
+	depends on OF_CONTROL
 	help
 	  This option specifies the default Device Tree used for DT control.
 	  It can be overridden from the command line:
-- 
cgit