From: Leonid Yegoshin Date: Tue, 4 Mar 2014 13:34:44 +0000 (+0000) Subject: MIPS: cpu-probe: Add support for probing M5150 cores X-Git-Tag: firefly_0821_release~176^2~4179^2~47 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9943ed921bbf4de59ed1986cb316e720a244f757;p=firefly-linux-kernel-4.4.55.git MIPS: cpu-probe: Add support for probing M5150 cores Signed-off-by: Leonid Yegoshin Signed-off-by: Markos Chandras Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6597/ Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index e225b0d369e8..f4229544df10 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c @@ -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);