[PATCH 0/3] cmd: clk: simplify clk command
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Tue Sep 10 01:45:27 CEST 2024
The clk command cannot provide useful output without a clock driver.
So let it depend on CONFIG_CLK.
Fix the Kconfig description of the command.
As with the series the clk command is only built if CONFIG_CLK=y we can
remove some #ifdefs.
Enabling the clk command on the sandbox will allow us to write tests
for it.
Heinrich Schuchardt (3):
cmd/Kconfig: CONFIG_CMD_CLK should depend on CONFIG_CLK
cmd: clk: simplify clk command
sandbox: enable clk command on the sandbox
cmd/Kconfig | 9 +++------
cmd/clk.c | 14 --------------
configs/sandbox64_defconfig | 1 +
configs/sandbox_defconfig | 1 +
configs/sandbox_flattree_defconfig | 1 +
configs/sandbox_noinst_defconfig | 1 +
configs/sandbox_spl_defconfig | 1 +
configs/sandbox_vpl_defconfig | 1 +
8 files changed, 9 insertions(+), 20 deletions(-)
--
2.45.2
More information about the U-Boot
mailing list