summaryrefslogtreecommitdiff
path: root/drivers/timer/Kconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-03-24 08:19:30 -0400
committerTom Rini <trini@konsulko.com>2017-03-24 08:19:30 -0400
commit5cf618ee60a752d058a767372ca1ecb8d9c09b16 (patch)
tree417a20db2bc9bb97bcc54b5d96dc7b1ccd192d6a /drivers/timer/Kconfig
parentc1daa4077365747d4f85ed8c93ba4d318d96a4af (diff)
parent3daa7c7b831ddeed0e490a899710a58691ee20c3 (diff)
Merge git://git.denx.de/u-boot-arc
This replaces legacy arch/arc/lib/timer.c implementation and allows us to describe ARC Timers in Device Tree. Among other things that way we may properly inherit Timer's clock from CPU's clock s they really run synchronously.
Diffstat (limited to 'drivers/timer/Kconfig')
-rw-r--r--drivers/timer/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig
index 72c14168d6..e03852396b 100644
--- a/drivers/timer/Kconfig
+++ b/drivers/timer/Kconfig
@@ -65,4 +65,13 @@ config STI_TIMER
help
Select this to enable a timer for STi devices.
+config ARC_TIMER
+ bool "ARC timer support"
+ depends on TIMER && ARC && CLK
+ help
+ Select this to enable built-in ARC timers.
+ ARC cores may have up to 2 built-in timers: timer0 and timer1,
+ usually at least one of them exists. Either of them is supported
+ in U-Boot.
+
endmenu