]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
sh: Enable new TMU driver support for all SH-3 and SH-4 CPUs.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 8 May 2009 06:28:15 +0000 (15:28 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 8 May 2009 06:28:15 +0000 (15:28 +0900)
The TMU block is supported on all SH-3 and SH-4 subtypes, so just select
it there, rather than conditionalizing it per subtype.

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

index b773e7d1b06bb286fb2822ffacd7ae7985a6af53..88eb118e9fa66010c34497b2b4154377458b0b3e 100644 (file)
@@ -168,6 +168,7 @@ config CPU_SH3
        bool
        select CPU_HAS_INTEVT
        select CPU_HAS_SR_RB
+       select SYS_SUPPORTS_TMU
 
 config CPU_SH4
        bool
@@ -175,6 +176,7 @@ config CPU_SH4
        select CPU_HAS_SR_RB
        select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
        select CPU_HAS_FPU if !CPU_SH4AL_DSP
+       select SYS_SUPPORTS_TMU
 
 config CPU_SH4A
        bool
@@ -393,7 +395,6 @@ config CPU_SUBTYPE_SH7785
        select CPU_SHX2
        select ARCH_SPARSEMEM_ENABLE
        select SYS_SUPPORTS_NUMA
-       select SYS_SUPPORTS_TMU
 
 config CPU_SUBTYPE_SH7786
        bool "Support SH7786 processor"
@@ -428,7 +429,6 @@ config CPU_SUBTYPE_SH7722
        select ARCH_SPARSEMEM_ENABLE
        select SYS_SUPPORTS_NUMA
        select SYS_SUPPORTS_CMT
-       select SYS_SUPPORTS_TMU
 
 config CPU_SUBTYPE_SH7366
        bool "Support SH7366 processor"