diff mbox series

timer: Kconfig: add clint timer support

Message ID 20221206031646.22673-1-chenzhipeng@eswincomputing.com
State Changes Requested
Delegated to: Andes
Headers show
Series timer: Kconfig: add clint timer support | expand

Commit Message

Zhipeng Chen Dec. 6, 2022, 3:16 a.m. UTC
add the clint timer device configuration item to Kconfig

Signed-off-by: chenzhipeng <chenzhipeng@eswincomputing.com>
---
 drivers/timer/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig
index 6d6665005c..3dd1b940f1 100644
--- a/drivers/timer/Kconfig
+++ b/drivers/timer/Kconfig
@@ -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