Commit fac6c2a8 authored by Magnus Damm's avatar Magnus Damm Committed by Paul Mundt

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: default avatarMagnus Damm <damm@opensource.se>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 83eb95b8
...@@ -35,7 +35,7 @@ enum cpu_type { ...@@ -35,7 +35,7 @@ enum cpu_type {
CPU_SH7723, CPU_SH7724, CPU_SH7757, CPU_SHX3, CPU_SH7723, CPU_SH7724, CPU_SH7757, CPU_SHX3,
/* SH4AL-DSP types */ /* SH4AL-DSP types */
CPU_SH7343, CPU_SH7722, CPU_SH7366, CPU_SH7343, CPU_SH7722, CPU_SH7366, CPU_SH7372,
/* SH-5 types */ /* SH-5 types */
CPU_SH5_101, CPU_SH5_103, CPU_SH5_101, CPU_SH5_103,
......
...@@ -25,7 +25,7 @@ static const char *cpu_name[] = { ...@@ -25,7 +25,7 @@ static const char *cpu_name[] = {
[CPU_SH5_101] = "SH5-101", [CPU_SH5_103] = "SH5-103", [CPU_SH5_101] = "SH5-101", [CPU_SH5_103] = "SH5-103",
[CPU_MXG] = "MX-G", [CPU_SH7723] = "SH7723", [CPU_MXG] = "MX-G", [CPU_SH7723] = "SH7723",
[CPU_SH7366] = "SH7366", [CPU_SH7724] = "SH7724", [CPU_SH7366] = "SH7366", [CPU_SH7724] = "SH7724",
[CPU_SH_NONE] = "Unknown" [CPU_SH7372] = "SH7372", [CPU_SH_NONE] = "Unknown"
}; };
const char *get_cpu_subtype(struct sh_cpuinfo *c) const char *get_cpu_subtype(struct sh_cpuinfo *c)
......
...@@ -154,6 +154,11 @@ void __cpuinit cpu_probe(void) ...@@ -154,6 +154,11 @@ void __cpuinit cpu_probe(void)
case 0x11: case 0x11:
boot_cpu_data.type = CPU_SH7757; boot_cpu_data.type = CPU_SH7757;
break; break;
case 0xd0:
case 0x40: /* yon-ten-go */
boot_cpu_data.type = CPU_SH7372;
break;
} }
break; break;
case 0x4000: /* 1st cut */ case 0x4000: /* 1st cut */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment