summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-09-10 20:21:27 -0600
committerTom Rini <trini@konsulko.com>2020-10-09 12:02:26 -0400
commit1fa057be4a1b7c9615a47f682bd82951e8a5fde6 (patch)
treede678db65ce0d1c4499938950c0f72bab00f1243
parenta4c4ecf4c9b8768558a980d842c7db6fe35d570c (diff)
downloadu-boot-1fa057be4a1b7c9615a47f682bd82951e8a5fde6.tar.gz
Kconfig: Create a new tools menu
At present MKIMAGE_DTC_PATH is in the devicetree menu but not within 'devicetree control' since it does not relate to that. As a result it shows up in the top menu. It actually relates to the mkimage tool, so create a new tools menu for it and move it there. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--Kconfig2
-rw-r--r--dts/Kconfig9
-rw-r--r--tools/Kconfig12
3 files changed, 14 insertions, 9 deletions
diff --git a/Kconfig b/Kconfig
index c385535a5c..520679f57e 100644
--- a/Kconfig
+++ b/Kconfig
@@ -453,3 +453,5 @@ source "fs/Kconfig"
source "lib/Kconfig"
source "test/Kconfig"
+
+source "tools/Kconfig"
diff --git a/dts/Kconfig b/dts/Kconfig
index 046a54a173..86ea8ce887 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
@@ -377,12 +377,3 @@ config TPL_OF_PLATDATA
declarations for each node. See of-plat.txt for more information.
endmenu
-
-config MKIMAGE_DTC_PATH
- string "Path to dtc binary for use within mkimage"
- default "dtc"
- help
- The mkimage host tool will, in order to generate FIT images make
- calls to the dtc application in order to create the output. In
- some cases the system dtc may not support all required features
- and the path to a different version should be given here.
diff --git a/tools/Kconfig b/tools/Kconfig
new file mode 100644
index 0000000000..b2f5012240
--- /dev/null
+++ b/tools/Kconfig
@@ -0,0 +1,12 @@
+menu "Tools options"
+
+config MKIMAGE_DTC_PATH
+ string "Path to dtc binary for use within mkimage"
+ default "dtc"
+ help
+ The mkimage host tool will, in order to generate FIT images make
+ calls to the dtc application in order to create the output. In
+ some cases the system dtc may not support all required features
+ and the path to a different version should be given here.
+
+endmenu