timer: Kconfig: add clint timer support
PATCH 1/1 timer: Kconfig: add clint timer support
add the clint timer device configuration item to Kconfig
Signed-off-by chenzhipeng <[email protected]>
--- drivers/timer/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/timer/Kconfig +7 -0
@@ -216,6 +216,13 @@ config RISCV_TIMER Select this to enable support for a generic RISC-V S-Mode timer driver. +config CLINT_TIMER + bool "RISC-V clint timer support" + depends on TIMER && RISCV + help + Select this to enables the clint timer for RISC-V systems. The clint + driver is usually used for NoMMU RISC-V systems. + config ROCKCHIP_TIMER bool "Rockchip timer support" depends on TIMER
Signature · 1 line
2.25.1
Hi chenzhipeng,
Quoted 15 lines · chenzhipeng
add the clint timer device configuration item to
KconfigSigned-off-by chenzhipeng <[email protected]>--- drivers/timer/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+)drivers/timer/Kconfig +0
-0@@ -216,6 +216,13 @@ config RISCV_TIMER Select this to enable support for a generic RISC-V S-Mode timer driver.
drivers/timer/Kconfig config RISCV_TIMER · line 228
Quoted 10 lines
drivers/timer/Kconfig +7
-0+config CLINT_TIMER + bool "RISC-V clint timer support" + depends on TIMER && RISCV + help + Select this to enables the clint timer for RISC-V systems. The clint + driver is usually used for NoMMU RISC-V systems. + config ROCKCHIP_TIMER bool "Rockchip timer support" depends on TIMER
You're adding a new Kconfig symbol for a timer driver, but this symbol is not referenced AFAICS.
Thanks,
Stefan