[PATCH] cmd: spi: Judge the number of added parameters

2022-12-06 Thread chenzhipeng
When only sspi is entered, help information can be printed. Signed-off-by: chenzhipeng --- cmd/spi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/spi.c b/cmd/spi.c index 454ebe37d7..f30018f33b 100644 --- a/cmd/spi.c +++ b/cmd/spi.c @@ -112,6 +112,9 @@ int do_spi(struct cmd_tbl

[PATCH] timer: Kconfig: add clint timer support

2022-12-06 Thread chenzhipeng
add the clint timer device configuration item to Kconfig Signed-off-by: chenzhipeng --- drivers/timer/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig index 6d6665005c..3dd1b940f1 100644 --- a/drivers/timer/Kconfig +++ b/drivers