summaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-09-23 13:00:57 -0400
committerTom Rini <trini@konsulko.com>2017-09-24 07:32:24 -0400
commit36dd5f1b8abcd0aa5f8490b3ef1e4e7ecce2eb8c (patch)
treeefe39b1793fbf439cd6718bf86dfd6b7a68a8c85 /dts
parent2d4c2259930b91fe5e7a2f92db32c03fe640ed60 (diff)
dtc: Switch to building and using our own dtc unless provided
This makes us act like the Linux Kernel does and allow for dtc to be provided externally but otherwise we use the version of dtc that is included in the sources. This in turn means that we can drop the checkdtc logic. We select DTC in the cases where we will need the dtc tool provided. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'dts')
-rw-r--r--dts/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/dts/Kconfig b/dts/Kconfig
index b4b7ddc144..44fc9fe36d 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
@@ -5,11 +5,15 @@
config SUPPORT_OF_CONTROL
bool
+config DTC
+ bool
+
menu "Device Tree Control"
depends on SUPPORT_OF_CONTROL
config OF_CONTROL
bool "Run-time configuration via Device Tree"
+ select DTC
help
This feature provides for run-time configuration of U-Boot
via a flattened device tree.