]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
MIPS: kernel: cpu-probe: Add support for probing interAptiv cores
authorLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Wed, 20 Nov 2013 10:46:02 +0000 (10:46 +0000)
committerJohn Crispin <blogic@openwrt.org>
Tue, 14 Jan 2014 11:48:29 +0000 (12:48 +0100)
Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Acked-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6152/

arch/mips/kernel/cpu-probe.c

index 5487822fcfd9708719a208e22ad498458d15acfe..fba37098cc0e8e19aecd09a4e4200c00f4a4b2b0 100644 (file)
@@ -809,6 +809,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_INTERAPTIV_UP:
+               c->cputype = CPU_INTERAPTIV;
+               __cpu_name[cpu] = "MIPS interAptiv";
+               break;
+       case PRID_IMP_INTERAPTIV_MP:
+               c->cputype = CPU_INTERAPTIV;
+               __cpu_name[cpu] = "MIPS interAptiv (multi)";
+               break;
        case PRID_IMP_PROAPTIV_UP:
                c->cputype = CPU_PROAPTIV;
                __cpu_name[cpu] = "MIPS proAptiv";