diff options
author | James Hogan <james.hogan@imgtec.com> | 2014-01-22 11:19:39 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-03-26 18:09:11 -0400 |
commit | 829dcc0a956a2317631873d946b5a5c2b0bf53ee (patch) | |
tree | 4602bfb24e3fcbf989e004d5fb82c2ab5fc314a8 /arch/mips/kernel | |
parent | aced4cbd6e3da7dd71f19d0378d27aa74f76e70b (diff) |
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')
-rw-r--r-- | arch/mips/kernel/cpu-probe.c | 4 |
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) | |||
844 | c->cputype = CPU_PROAPTIV; | 844 | c->cputype = CPU_PROAPTIV; |
845 | __cpu_name[cpu] = "MIPS proAptiv (multi)"; | 845 | __cpu_name[cpu] = "MIPS proAptiv (multi)"; |
846 | break; | 846 | break; |
847 | case PRID_IMP_P5600: | ||
848 | c->cputype = CPU_P5600; | ||
849 | __cpu_name[cpu] = "MIPS P5600"; | ||
850 | break; | ||
847 | } | 851 | } |
848 | 852 | ||
849 | decode_configs(c); | 853 | decode_configs(c); |