MIPS: CPC: provide functions to retrieve register addresses
authorPaul Burton <paul.burton@imgtec.com>
Fri, 14 Feb 2014 09:27:15 +0000 (09:27 +0000)
committerPaul Burton <paul.burton@imgtec.com>
Fri, 2 May 2014 15:39:14 +0000 (16:39 +0100)
commit2ba60250b01bfbab6b2293f8c1492312eb6a4131
tree1ed554041a92a7e0fd68e96ab43a7e3b5f305b57
parent76306f4272e036e600254a98bc291df50cedd949
MIPS: CPC: provide functions to retrieve register addresses

This patch introduces addr_ functions in addition to the existing read_
& write_ functions. The new functions simply return the address of the
appropriate CPC register rather than performing a memory access. This
will be used in a subsequent patch.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
arch/mips/include/asm/mips-cpc.h