summaryrefslogtreecommitdiffstats
path: root/platforms/host-dtc.in
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-02-25 08:48:59 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-02-25 09:02:58 +0100
commit5fd08c9c79b31e9d2dcb303bcbb1297d813cd75a (patch)
treeb858fabd47690a3dcc5d6e3bd156d1b429284d60 /platforms/host-dtc.in
parent0d040be1903f2c9c2c649e4a7972c1df47368271 (diff)
downloadptxdist-5fd08c9c79b31e9d2dcb303bcbb1297d813cd75a.tar.gz
ptxdist-5fd08c9c79b31e9d2dcb303bcbb1297d813cd75a.tar.xz
platform: create a generated section for device tree options
This makes it possible to overwrite it without replacing platforms/Kconfig. Also, cleanup options and make the in-kernel dtc the default. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms/host-dtc.in')
-rw-r--r--platforms/host-dtc.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/platforms/host-dtc.in b/platforms/host-dtc.in
new file mode 100644
index 000000000..4d2107187
--- /dev/null
+++ b/platforms/host-dtc.in
@@ -0,0 +1,25 @@
+## SECTION=devicetree
+
+menuconfig HOST_DTC
+ bool
+ depends on DTC && !KERNEL_DTC
+ prompt "Build device tree compiler "
+ help
+ Select this if the HOST_DTC tool is required without
+ building a device tree. (It is also used for building
+ U-boot FIT images)
+
+if HOST_DTC
+
+config HOST_DTC_VERSION
+ string
+ prompt "Device tree compiler version"
+ default "1.3.0"
+ help
+ Specify the DTC version number to be used
+
+config HOST_DTC_MD5
+ prompt "dtc source md5sum"
+ string
+
+endif