aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-04-30 03:12:09 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-05-03 04:40:13 -0400
commit3280c8865e1b738604bacdea54738acef31e8c12 (patch)
treee6019038b1b0f68bdb01d3e52a627c222425ae46 /arch/sh/Kconfig
parentda107c6ef919b3afd9c9b405a4f71e03b5725b04 (diff)
sh: remove old MTU2 driver
This patch removes the old MTU2 driver (CONFIG_SH_MTU2/timer-mtu2.c) As replacement, select the sh_cmt driver with CONFIG_SH_TIMER_MTU2 and configure timer channel using platform data. If multiple MTU channels are enabled using platform data, use the earlytimer parameter on the kernel command line to select channel. For instance, use "earlytimer=sh_mtu2.0" to select the first channel. To verify which timer is being used, look at printouts or the timer irq count in /proc/interrupts. 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/Kconfig9
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 2061488cc17c..bda3dc1b0c26 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -479,16 +479,9 @@ config SH_TIMER_CMT
479 help 479 help
480 This enables build of the CMT timer driver. 480 This enables build of the CMT timer driver.
481 481
482config SH_MTU2
483 bool "MTU2 timer support"
484 depends on CPU_SH2A && !GENERIC_TIME
485 default y
486 help
487 This enables the use of the MTU2 as the system timer.
488
489config SH_TIMER_MTU2 482config SH_TIMER_MTU2
490 bool "MTU2 timer driver" 483 bool "MTU2 timer driver"
491 depends on SYS_SUPPORTS_MTU2 && !SH_MTU2 484 depends on SYS_SUPPORTS_MTU2
492 default y 485 default y
493 select GENERIC_CLOCKEVENTS 486 select GENERIC_CLOCKEVENTS
494 help 487 help