Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4fa48e17 authored by Paul Mundt's avatar Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent e367592c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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"