OSDN Git Service

MIPS: cpu-probe: Add support for probing M5150 cores
authorLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Tue, 4 Mar 2014 13:34:44 +0000 (13:34 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:22 +0000 (23:09 +0100)
Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6597/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cpu-probe.c

index e225b0d..f422954 100644 (file)
@@ -853,6 +853,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_M5150:
+               c->cputype = CPU_M5150;
+               __cpu_name[cpu] = "MIPS M5150";
+               break;
        }
 
        decode_configs(c);