Commit a1431b61 authored by David Daney's avatar David Daney Committed by Ralf Baechle

MIPS: Add probes for more Octeon II CPUs.

Detect cn61XX, cn66XX and cn68XX CPUs in cpu_probe_cavium().
Signed-off-by: default avatarDavid Daney <david.daney@cavium.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2777/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 074ef0d2
...@@ -978,7 +978,10 @@ static inline void cpu_probe_cavium(struct cpuinfo_mips *c, unsigned int cpu) ...@@ -978,7 +978,10 @@ static inline void cpu_probe_cavium(struct cpuinfo_mips *c, unsigned int cpu)
platform: platform:
set_elf_platform(cpu, "octeon"); set_elf_platform(cpu, "octeon");
break; break;
case PRID_IMP_CAVIUM_CN61XX:
case PRID_IMP_CAVIUM_CN63XX: case PRID_IMP_CAVIUM_CN63XX:
case PRID_IMP_CAVIUM_CN66XX:
case PRID_IMP_CAVIUM_CN68XX:
c->cputype = CPU_CAVIUM_OCTEON2; c->cputype = CPU_CAVIUM_OCTEON2;
__cpu_name[cpu] = "Cavium Octeon II"; __cpu_name[cpu] = "Cavium Octeon II";
set_elf_platform(cpu, "octeon2"); set_elf_platform(cpu, "octeon2");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment