提交 4fa48e17 编写于 作者: P Paul Mundt

sh: Enable new TMU driver support for all SH-3 and SH-4 CPUs.

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: NPaul Mundt <lethal@linux-sh.org>
上级 e367592c
...@@ -168,6 +168,7 @@ config CPU_SH3 ...@@ -168,6 +168,7 @@ config CPU_SH3
bool bool
select CPU_HAS_INTEVT select CPU_HAS_INTEVT
select CPU_HAS_SR_RB select CPU_HAS_SR_RB
select SYS_SUPPORTS_TMU
config CPU_SH4 config CPU_SH4
bool bool
...@@ -175,6 +176,7 @@ config CPU_SH4 ...@@ -175,6 +176,7 @@ config CPU_SH4
select CPU_HAS_SR_RB select CPU_HAS_SR_RB
select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
select CPU_HAS_FPU if !CPU_SH4AL_DSP select CPU_HAS_FPU if !CPU_SH4AL_DSP
select SYS_SUPPORTS_TMU
config CPU_SH4A config CPU_SH4A
bool bool
...@@ -393,7 +395,6 @@ config CPU_SUBTYPE_SH7785 ...@@ -393,7 +395,6 @@ config CPU_SUBTYPE_SH7785
select CPU_SHX2 select CPU_SHX2
select ARCH_SPARSEMEM_ENABLE select ARCH_SPARSEMEM_ENABLE
select SYS_SUPPORTS_NUMA select SYS_SUPPORTS_NUMA
select SYS_SUPPORTS_TMU
config CPU_SUBTYPE_SH7786 config CPU_SUBTYPE_SH7786
bool "Support SH7786 processor" bool "Support SH7786 processor"
...@@ -428,7 +429,6 @@ config CPU_SUBTYPE_SH7722 ...@@ -428,7 +429,6 @@ config CPU_SUBTYPE_SH7722
select ARCH_SPARSEMEM_ENABLE select ARCH_SPARSEMEM_ENABLE
select SYS_SUPPORTS_NUMA select SYS_SUPPORTS_NUMA
select SYS_SUPPORTS_CMT select SYS_SUPPORTS_CMT
select SYS_SUPPORTS_TMU
config CPU_SUBTYPE_SH7366 config CPU_SUBTYPE_SH7366
bool "Support SH7366 processor" bool "Support SH7366 processor"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册