MIPS: Add Loongson-3B support
[deliverable/linux.git] / arch / mips / kernel / cpu-probe.c
index d74f957c561ee8108f1ba3687002939ab508c0d1..2d2e2877b1ea8a98765cd5ad4eef07f8eb249e1d 100644 (file)
@@ -740,6 +740,12 @@ static inline void cpu_probe_legacy(struct cpuinfo_mips *c, unsigned int cpu)
                        __cpu_name[cpu] = "ICT Loongson-3";
                        set_elf_platform(cpu, "loongson3a");
                        break;
+               case PRID_REV_LOONGSON3B_R1:
+               case PRID_REV_LOONGSON3B_R2:
+                       c->cputype = CPU_LOONGSON3;
+                       __cpu_name[cpu] = "ICT Loongson-3";
+                       set_elf_platform(cpu, "loongson3b");
+                       break;
                }
 
                set_isa(c, MIPS_CPU_ISA_III);
This page took 0.028394 seconds and 5 git commands to generate.