summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/cpu-probe.c
diff options
context:
space:
mode:
authorJames Hogan2014-01-22 17:19:39 +0100
committerRalf Baechle2014-03-26 23:09:11 +0100
commit829dcc0a956a2317631873d946b5a5c2b0bf53ee (patch)
tree4602bfb24e3fcbf989e004d5fb82c2ab5fc314a8 /arch/mips/kernel/cpu-probe.c
parentMIPS: Add cases for CPU_P5600 (diff)
downloadkernel-qcow2-linux-829dcc0a956a2317631873d946b5a5c2b0bf53ee.tar.gz
kernel-qcow2-linux-829dcc0a956a2317631873d946b5a5c2b0bf53ee.tar.xz
kernel-qcow2-linux-829dcc0a956a2317631873d946b5a5c2b0bf53ee.zip
MIPS: Add MIPS P5600 probe support
Add a case in cpu_probe_mips for the MIPS P5600 processor ID, which sets the CPU type to the new CPU_P5600. Signed-off-by: James Hogan <james.hogan@imgtec.com> Reviewed-by: Markos Chandras <markos.chandras@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6409/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/cpu-probe.c')
-rw-r--r--arch/mips/kernel/cpu-probe.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
index dec20f580cea..0b9bbcb64afd 100644
--- a/arch/mips/kernel/cpu-probe.c
+++ b/arch/mips/kernel/cpu-probe.c
@@ -844,6 +844,10 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c, unsigned int cpu)
c->cputype = CPU_PROAPTIV;
__cpu_name[cpu] = "MIPS proAptiv (multi)";
break;
+ case PRID_IMP_P5600:
+ c->cputype = CPU_P5600;
+ __cpu_name[cpu] = "MIPS P5600";
+ break;
}
decode_configs(c);