]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sh: Restrict old CMT timer code to SH-2/SH-2A.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 4 Feb 2009 06:28:06 +0000 (15:28 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 4 Feb 2009 06:28:06 +0000 (15:28 +0900)
None of the other platforms use this, and need individual porting.
Restrict it back to the supported set of CPU subtypes.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig

index 50c992444e557afff112a4d53872eb6f6ebe4007..78a01d7d37efaee90241ff9524b07520b8186fec 100644 (file)
@@ -419,7 +419,7 @@ config SH_TMU
 
 config SH_CMT
        bool "CMT timer support"
-       depends on SYS_SUPPORTS_CMT
+       depends on SYS_SUPPORTS_CMT && CPU_SH2
        default y
        help
          This enables the use of the CMT as the system timer.