summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu/sh4
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2011-01-12 10:54:21 +0000
committerPaul Mundt <lethal@linux-sh.org>2011-01-13 15:20:40 +0900
commitfac6c2a891a3e7255e4440f09a4c7da954043ba9 (patch)
treef273784e5f0de645decf253afe20b357e122cb0d /arch/sh/kernel/cpu/sh4
parent83eb95b852902f952ba594447a796ad8146b9462 (diff)
sh: sh7372 SH4AL-DSP probe support
Add probe support for the sh7372 SH4AL-DSP core. The most common use case for this is when the system boots from the ARM core in the sh7372 and uses the SH core for application offload as a slave CPU. May also be used to boot the sh7372 from the SH core. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4')
-rw-r--r--arch/sh/kernel/cpu/sh4/probe.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4/probe.c b/arch/sh/kernel/cpu/sh4/probe.c
index b1edc90d482..971cf0fce4f 100644
--- a/arch/sh/kernel/cpu/sh4/probe.c
+++ b/arch/sh/kernel/cpu/sh4/probe.c
@@ -154,6 +154,11 @@ void __cpuinit cpu_probe(void)
case 0x11:
boot_cpu_data.type = CPU_SH7757;
break;
+ case 0xd0:
+ case 0x40: /* yon-ten-go */
+ boot_cpu_data.type = CPU_SH7372;
+ break;
+
}
break;
case 0x4000: /* 1st cut */