Thread (6 messages) 6 messages, 1 author, 2014-01-22
STALE4534d REVIEWED: 1 (0M)

[PATCH v2 3/5] MIPS: Add MIPS P5600 probe support

From: James Hogan <hidden>
Date: 2014-01-22 16:21:24
Subsystem: mips, the rest · Maintainers: Thomas Bogendoerfer, Linus Torvalds

Add a case in cpu_probe_mips for the MIPS P5600 processor ID, which sets
the CPU type to the new CPU_P5600.

Signed-off-by: James Hogan <redacted>
Reviewed-by: Markos Chandras <redacted>
Cc: Ralf Baechle <redacted>
Cc: linux-mips@linux-mips.org
---
 arch/mips/kernel/cpu-probe.c | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
index 530f832de02c..ef9b415086c8 100644
--- a/arch/mips/kernel/cpu-probe.c
+++ b/arch/mips/kernel/cpu-probe.c
@@ -825,6 +825,10 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c, unsigned int cpu)
 		c->cputype = CPU_PROAPTIV;
 		__cpu_name[cpu] = "MIPS proAptiv (multi)";
 		break;
+	case PRID_IMP_P5600:
+		c->cputype = CPU_P5600;
+		__cpu_name[cpu] = "MIPS P5600";
+		break;
 	}
 
 	decode_configs(c);
-- 
1.8.1.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help