diff options
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 6f91478826d5..6d0dd378ecad 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -113,6 +113,9 @@ config SYS_SUPPORTS_PCI | |||
113 | config SYS_SUPPORTS_CMT | 113 | config SYS_SUPPORTS_CMT |
114 | bool | 114 | bool |
115 | 115 | ||
116 | config SYS_SUPPORTS_MTU2 | ||
117 | bool | ||
118 | |||
116 | config STACKTRACE_SUPPORT | 119 | config STACKTRACE_SUPPORT |
117 | def_bool y | 120 | def_bool y |
118 | 121 | ||
@@ -478,6 +481,14 @@ config SH_MTU2 | |||
478 | help | 481 | help |
479 | This enables the use of the MTU2 as the system timer. | 482 | This enables the use of the MTU2 as the system timer. |
480 | 483 | ||
484 | config SH_TIMER_MTU2 | ||
485 | bool "MTU2 timer driver" | ||
486 | depends on SYS_SUPPORTS_MTU2 && !SH_MTU2 | ||
487 | default y | ||
488 | select GENERIC_CLOCKEVENTS | ||
489 | help | ||
490 | This enables build of the MTU2 timer driver. | ||
491 | |||
481 | config SH_TIMER_IRQ | 492 | config SH_TIMER_IRQ |
482 | int | 493 | int |
483 | default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \ | 494 | default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \ |