summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-03-01 10:54:27 +0100
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-03-09 01:40:20 +0100
commit0b9e768348acd3dff74a0c402e63936053d84280 (patch)
treeaaefb5af28eb3eae3cbc9586008b1d2146209eaa
parent1968e26f762c1170bccbc70ad04475aa624770be (diff)
cmd: move CONFIG_CMD_CLK to Kconfig
The CMD_CLK configuration allows the clk-command today (having only the 'clk dump' action for printing the clock configuration using a per-SoC weak function). It is currently only selected by ZYNC and PIC32. To make it easier to use this command for other platforms and to select it via defconfig, we are moving it into Kconfig. Given that this is a debug/maintainer command, the default was chosen as 'n' and thus should cause no warning messages to board that still enable it in their respective header files. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-rw-r--r--cmd/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index ef53156314..119a600fa5 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -144,6 +144,16 @@ config CMD_CONSOLE
help
Print console devices and information.
+config CMD_CLK
+ bool "clk"
+ default n
+ help
+ Print information about clocks.
+
+ This normally shows a list of clocks and their current
+ configuration. The implementation and details of the output
+ are manufacturer specific.
+
config CMD_CPU
bool "cpu"
help