Commit f2041708 authored by Manuel Lauss's avatar Manuel Lauss Committed by Thomas Bogendoerfer
Browse files

MIPS: Restore Au1300 support



The Au1300, at least the one I have to test, uses the NetLogic vendor
ID, but commit 95b8a5e0 ("MIPS: Remove NETLOGIC support") also
dropped Au1300 detection.  Restore Au1300 detection.

Tested on DB1300 with Au1380 chip.

Signed-off-by: default avatarManuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 75b18aac
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1502,6 +1502,10 @@ static inline void cpu_probe_alchemy(struct cpuinfo_mips *c, unsigned int cpu)
			break;
		}
		break;
	case PRID_IMP_NETLOGIC_AU13XX:
		c->cputype = CPU_ALCHEMY;
		__cpu_name[cpu] = "Au1300";
		break;
	}
}

@@ -1863,6 +1867,7 @@ void cpu_probe(void)
		cpu_probe_mips(c, cpu);
		break;
	case PRID_COMP_ALCHEMY:
	case PRID_COMP_NETLOGIC:
		cpu_probe_alchemy(c, cpu);
		break;
	case PRID_COMP_SIBYTE: