diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2015-07-09 09:40:37 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-08-26 13:23:05 (GMT) |
commit | e57f9a2dcedc7f4847799e13a9987874a161d308 (patch) | |
tree | a144387a31e1d96479db2d48ef5b2eec665e7a95 /arch/mips/kernel/cpu-probe.c | |
parent | 4e88a8621301b992e8e3422e08bfb604772f3338 (diff) | |
download | linux-e57f9a2dcedc7f4847799e13a9987874a161d308.tar.xz |
MIPS: Add MIPS I6400 probe support
Add a case in cpu_probe_mips for the MIPS I6400 processor ID, which sets
the CPU type to the new CPU_I6400.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10636/
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.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 dbe0792..02b7512 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c @@ -1121,6 +1121,10 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c, unsigned int cpu) c->cputype = CPU_P5600; __cpu_name[cpu] = "MIPS P5600"; break; + case PRID_IMP_I6400: + c->cputype = CPU_I6400; + __cpu_name[cpu] = "MIPS I6400"; + break; case PRID_IMP_M5150: c->cputype = CPU_M5150; __cpu_name[cpu] = "MIPS M5150"; |