diff options
author | Jayachandran C <jayachandranc@netlogicmicro.com> | 2011-11-15 19:21:29 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-12-07 17:04:56 -0500 |
commit | 2aa54b2009bb4f85cdc42d16dde18093dd832a31 (patch) | |
tree | 0e9adc109b4c8bc8e2cfe983bef40380b72c12bf /arch/mips/kernel/cpu-probe.c | |
parent | 66d29985fab8207b1b2c03ac34a2c294c5b47a30 (diff) |
MIPS: Netlogic: Add support for XLP 3XX cores
Add new processor ID to asm/cpu.h and kernel/cpu-probe.c.
Update to new CPU frequency detection code which works on XLP 3XX
and 8XX.
Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2971/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/cpu-probe.c')
-rw-r--r-- | arch/mips/kernel/cpu-probe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index 92fae7f459cf..40c9c51c80e3 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c | |||
@@ -1025,7 +1025,8 @@ static inline void cpu_probe_netlogic(struct cpuinfo_mips *c, int cpu) | |||
1025 | MIPS_CPU_LLSC); | 1025 | MIPS_CPU_LLSC); |
1026 | 1026 | ||
1027 | switch (c->processor_id & 0xff00) { | 1027 | switch (c->processor_id & 0xff00) { |
1028 | case PRID_IMP_NETLOGIC_XLP832: | 1028 | case PRID_IMP_NETLOGIC_XLP8XX: |
1029 | case PRID_IMP_NETLOGIC_XLP3XX: | ||
1029 | c->cputype = CPU_XLP; | 1030 | c->cputype = CPU_XLP; |
1030 | __cpu_name[cpu] = "Netlogic XLP"; | 1031 | __cpu_name[cpu] = "Netlogic XLP"; |
1031 | break; | 1032 | break; |