From: Leonid Yegoshin Date: Thu, 14 Nov 2013 16:12:28 +0000 (+0000) Subject: MIPS: kernel: cpu-probe: Add support for probing proAptiv cores X-Git-Tag: v4.14-rc1~8131^2~94 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b0d4d30026ba4e5f3c71012ec90b77084fe9825b;p=platform%2Fkernel%2Flinux-rpi.git MIPS: kernel: cpu-probe: Add support for probing proAptiv cores Signed-off-by: Leonid Yegoshin Signed-off-by: Markos Chandras Signed-off-by: John Crispin Patchwork: http://patchwork.linux-mips.org/patch/6135/ --- diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index e1acfa8..f86414e 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c @@ -746,6 +746,14 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c, unsigned int cpu) c->cputype = CPU_74K; __cpu_name[cpu] = "MIPS 1074Kc"; break; + case PRID_IMP_PROAPTIV_UP: + c->cputype = CPU_PROAPTIV; + __cpu_name[cpu] = "MIPS proAptiv"; + break; + case PRID_IMP_PROAPTIV_MP: + c->cputype = CPU_PROAPTIV; + __cpu_name[cpu] = "MIPS proAptiv (multi)"; + break; } spram_config();