Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 829dcc0a authored by James Hogan's avatar James Hogan Committed by Ralf Baechle
Browse files

MIPS: Add MIPS P5600 probe support



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: default avatarJames Hogan <james.hogan@imgtec.com>
Reviewed-by: default avatarMarkos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6409/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent aced4cbd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -844,6 +844,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);