MIPS: Probe the M6250 CPU
authorPaul Burton <paul.burton@imgtec.com>
Wed, 3 Feb 2016 16:17:30 +0000 (16:17 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:01:53 +0000 (14:01 +0200)
Support probing the M6250 CPU now that cases for handling it have been
added where required in the core MIPS kernel code.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Maciej W. Rozycki <macro@imgtec.com>
Cc: Joshua Kinard <kumba@gentoo.org>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12375/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cpu-probe.c

index 0aa5bb06bb476b1e6be8a7c00b43031db81346ed..785e9a11c721fb6bfcc04966eb8b1697245304b2 100644 (file)
@@ -1329,6 +1329,10 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c, unsigned int cpu)
                c->cputype = CPU_M5150;
                __cpu_name[cpu] = "MIPS M5150";
                break;
+       case PRID_IMP_M6250:
+               c->cputype = CPU_M6250;
+               __cpu_name[cpu] = "MIPS M6250";
+               break;
        }
 
        decode_configs(c);