Pārlūkot izejas kodu

Detect the 4KEcR2 and for now detect handle it like the 4KEc.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 20 gadi atpakaļ
vecāks
revīzija
2b07bd0235
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      arch/mips/kernel/cpu-probe.c

+ 4 - 0
arch/mips/kernel/cpu-probe.c

@@ -456,6 +456,10 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c)
 		c->cputype = CPU_4KEC;
 		c->isa_level = MIPS_CPU_ISA_M32;
 		break;
+	case PRID_IMP_4KECR2:
+		c->cputype = CPU_4KEC;
+		c->isa_level = MIPS_CPU_ISA_M32;
+		break;
 	case PRID_IMP_4KSC:
 		c->cputype = CPU_4KSC;
 		c->isa_level = MIPS_CPU_ISA_M32;