Skip to content
Commit 197e89e0 authored by Paul Burton's avatar Paul Burton Committed by Ralf Baechle
Browse files

MIPS: mips-cm: Implement mips_cm_revision



Provide a function to trivially return the version of the CM present in
the system, or 0 if no CM is present. The mips_cm_revision() will be
used later on to determine the CM register width, so it must not use
the regular CM accessors to read the revision register since that will
lead to build failures due to recursive inlines.

Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
Signed-off-by: default avatarMarkos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10655/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 5676319c
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