From: James Hogan Date: Wed, 22 Jan 2014 16:19:39 +0000 (+0000) Subject: MIPS: Add MIPS P5600 probe support X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=829dcc0a956a2317631873d946b5a5c2b0bf53ee;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git MIPS: Add MIPS P5600 probe support 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 Reviewed-by: Markos Chandras Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6409/ Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index dec20f580cea..0b9bbcb64afd 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c @@ -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);