summaryrefslogtreecommitdiff
path: root/drivers/timer/Kconfig
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2020-10-25 21:46:56 -0400
committerAndes <uboot@andestech.com>2020-10-26 10:01:28 +0800
commit79b135f1f937296fbe40ffa8500b531a7e1a0e9d (patch)
treeb196ad1c9d28d1b4528752e10d1c7960436734bd /drivers/timer/Kconfig
parent963911e9e1c17b2f973ff49ddd51060d6c340c5f (diff)
riscv: Move Andes PLMT driver to drivers/timer
This is a regular timer driver, and should live with the other timer drivers. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Rick Chen <rick@andestech.com>
Diffstat (limited to 'drivers/timer/Kconfig')
-rw-r--r--drivers/timer/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig
index f8fa4aa71f..6b8e4c9dc0 100644
--- a/drivers/timer/Kconfig
+++ b/drivers/timer/Kconfig
@@ -53,6 +53,13 @@ config ALTERA_TIMER
Select this to enable a timer for Altera devices. Please find
details on the "Embedded Peripherals IP User Guide" of Altera.
+config ANDES_PLMT
+ bool
+ depends on RISCV_MMODE || SPL_RISCV_MMODE
+ help
+ The Andes PLMT block holds memory-mapped mtime register
+ associated with timer tick.
+
config ARC_TIMER
bool "ARC timer support"
depends on TIMER && ARC && CLK