diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-04-30 00:09:26 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-04-30 00:21:14 -0400 |
commit | f425752fc66acf1d4e47970ea704ed7d31c14173 (patch) | |
tree | 84784c46f0cfa6ac555a499cce9826918ae0feba /arch/sh/Kconfig | |
parent | 698aa99da5f5e2b4c666fd21ab77306f0225b8f5 (diff) |
sh: remove old CMT driver
This patch removes the old CMT driver (CONFIG_SH_CMT/timer-cmt.c)
As replacement, select the sh_cmt driver with CONFIG_SH_TIMER_CMT
and configure timer channel using platform data.
If multiple CMT channels are enabled using platform data, use the
earlytimer parameter on the kernel command line to select channel.
For instance, use "earlytimer=sh_cmt.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/Kconfig | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 9db02ced57a5..7e96adea9602 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -462,22 +462,14 @@ config SH_TMU | |||
462 | help | 462 | help |
463 | This enables the use of the TMU as the system timer. | 463 | This enables the use of the TMU as the system timer. |
464 | 464 | ||
465 | config SH_CMT | ||
466 | bool "CMT timer support" | ||
467 | depends on SYS_SUPPORTS_CMT && CPU_SH2 | ||
468 | default y | ||
469 | help | ||
470 | This enables the use of the CMT as the system timer. | ||
471 | |||
472 | # | ||
473 | # Support for the new-style CMT driver. This will replace SH_CMT | ||
474 | # once its other dependencies are merged. | ||
475 | # | ||
476 | config SH_TIMER_CMT | 465 | config SH_TIMER_CMT |
477 | bool "CMT clockevents driver" | 466 | bool "CMT timer driver" |
478 | depends on SYS_SUPPORTS_CMT && !SH_CMT | 467 | depends on SYS_SUPPORTS_CMT |
468 | default y | ||
479 | select GENERIC_CLOCKEVENTS | 469 | select GENERIC_CLOCKEVENTS |
480 | select GENERIC_TIME | 470 | select GENERIC_TIME |
471 | help | ||
472 | This enables build of the CMT timer driver. | ||
481 | 473 | ||
482 | config SH_MTU2 | 474 | config SH_MTU2 |
483 | bool "MTU2 timer support" | 475 | bool "MTU2 timer support" |