MIPS: Add MIPS P5600 probe support
authorJames Hogan <james.hogan@imgtec.com>
Wed, 22 Jan 2014 16:19:39 +0000 (16:19 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:11 +0000 (23:09 +0100)
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>
arch/mips/kernel/cpu-probe.c

index dec20f580ceae1dc47404614b9afafe94b59c657..0b9bbcb64afdec8a2432e12811fb690a7856de65 100644 (file)
@@ -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);