Skip to contentSkip to conversation

timer-tmu: Add SH7786 support

PATCH Paul Mundt 1 participant 1 message Mar 3, 2009 SuperH

lore
Share & tools
lore

Paul Mundt

author
#0 lore raw
Quoted 4 lines · Kuninori Morimoto

L2 cache doesn't support now.
This only support main cpu though sh7786 is multi core CPU.

I've applied this series with a bit of tidying, but have done so as a single changeset. If you wish to have this applied incrementally as a series, each one of these patches need to build on the previous ones incrementally, and no single patch should leave the tree in a broken state. Splitting them up arbitrarily is not sufficient, as this breaks bisection, which is not acceptable.

Please keep this in mind for future patches.

Quoted 8 lines
arch/sh/Kconfig +0 -0
index 78a01d7..0ae0968 100644
@@ -356,6 +356,13 @@ config CPU_SUBTYPE_SH7785
 	select ARCH_SPARSEMEM_ENABLE
 	select SYS_SUPPORTS_NUMA
 

arch/sh/Kconfig config CPU_SUBTYPE_SH7785 · line 368

Quoted 10 lines
arch/sh/Kconfig +7 -0
+config CPU_SUBTYPE_SH7786
+	bool "Support SH7786 processor"
+	select CPU_SH4A
+	select CPU_SHX2
+	select ARCH_SPARSEMEM_ENABLE
+	select SYS_SUPPORTS_NUMA
+
 config CPU_SUBTYPE_SHX3
 	bool "Support SH-X3 processor"
 	select CPU_SH4A

This is most definitely not an SH-X2 core, so this needs to be selecting CPU_SHX3 instead. I'll take care of fixing that up though, since some of the existing SH-X3 code really only applies to the SH-X3 proto CPUs, and not to SH7786.