diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-09-10 01:45:28 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-10-09 22:04:56 -0600 |
commit | 56efea88052cfd615768b7fb2d015b84963e681f (patch) | |
tree | 0a95de92dc2c9312b53b4049f27abc468432b5de | |
parent | d25a10401d17ab7c106115b23dfbd01c962c8279 (diff) |
cmd/Kconfig: CONFIG_CMD_CLK should depend on CONFIG_CLK
The clk command cannot provide useful output without a clock driver.
So let it depend on CONFIG_CLK.
Since commit 258c1002383e ("cmd: clk: Use dump function from clk_ops")
the remark about deprecation is obsolete. Remove it.
Since commit 7ab418fbe612 ("clk: add support for setting clk rate from
cmdline") the clk command can be used to set clock frequencies. Mention
it.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-rw-r--r-- | cmd/Kconfig | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index d667ed51206..37894eb80d6 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1079,13 +1079,10 @@ config CMD_BIND gadget driver from the command line. config CMD_CLK - bool "clk - Show clock frequencies" + bool "clk - Show and set clock frequencies" + depends on CLK help - (deprecated) - Shows clock frequences by calling a sock_clk_dump() hook function. - This is depreated in favour of using the CLK uclass and accessing - clock values from associated drivers. However currently no command - exists for this. + Show and set clock frequencies managed by CLK uclass drivers. config CMD_DEMO bool "demo - Demonstration commands for driver model" |