aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-05-01 02:51:00 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-05-03 04:41:15 -0400
commit9570ef20423b549757aa484ad388f9a7d5bdc4d9 (patch)
tree900abba67f478327554307cb74e2683b632f3289 /arch/sh/Kconfig
parent3280c8865e1b738604bacdea54738acef31e8c12 (diff)
clocksource: SuperH TMU Timer driver
This patch adds a TMU driver for the SuperH architecture. The TMU driver is a platform driver with early platform support to allow using a TMU channel as clockevent or clocksource during system bootup or later. Clocksource or clockevent can be selected. Both periodic and oneshot clockevents are supported. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index bda3dc1b0c26..1f74737c4f20 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -116,6 +116,9 @@ config SYS_SUPPORTS_CMT
116config SYS_SUPPORTS_MTU2 116config SYS_SUPPORTS_MTU2
117 bool 117 bool
118 118
119config SYS_SUPPORTS_TMU
120 bool
121
119config STACKTRACE_SUPPORT 122config STACKTRACE_SUPPORT
120 def_bool y 123 def_bool y
121 124
@@ -470,6 +473,15 @@ config SH_TMU
470 help 473 help
471 This enables the use of the TMU as the system timer. 474 This enables the use of the TMU as the system timer.
472 475
476config SH_TIMER_TMU
477 bool "TMU timer driver"
478 depends on !SH_TMU && SYS_SUPPORTS_TMU
479 default y
480 select GENERIC_TIME
481 select GENERIC_CLOCKEVENTS
482 help
483 This enables the build of the TMU timer driver.
484
473config SH_TIMER_CMT 485config SH_TIMER_CMT
474 bool "CMT timer driver" 486 bool "CMT timer driver"
475 depends on SYS_SUPPORTS_CMT 487 depends on SYS_SUPPORTS_CMT