Skip to content

Commit f204170

Browse files
mlauss2tsbogend
authored andcommitted
MIPS: Restore Au1300 support
The Au1300, at least the one I have to test, uses the NetLogic vendor ID, but commit 95b8a5e ("MIPS: Remove NETLOGIC support") also dropped Au1300 detection. Restore Au1300 detection. Tested on DB1300 with Au1380 chip. Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
1 parent 75b18aa commit f204170

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

arch/mips/kernel/cpu-probe.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1502,6 +1502,10 @@ static inline void cpu_probe_alchemy(struct cpuinfo_mips *c, unsigned int cpu)
15021502
break;
15031503
}
15041504
break;
1505+
case PRID_IMP_NETLOGIC_AU13XX:
1506+
c->cputype = CPU_ALCHEMY;
1507+
__cpu_name[cpu] = "Au1300";
1508+
break;
15051509
}
15061510
}
15071511

@@ -1863,6 +1867,7 @@ void cpu_probe(void)
18631867
cpu_probe_mips(c, cpu);
18641868
break;
18651869
case PRID_COMP_ALCHEMY:
1870+
case PRID_COMP_NETLOGIC:
18661871
cpu_probe_alchemy(c, cpu);
18671872
break;
18681873
case PRID_COMP_SIBYTE:

0 commit comments

Comments
 (0)