summaryrefslogtreecommitdiff
path: root/arch/mips/wrppmc/reset.c
diff options
context:
space:
mode:
authorJayachandran C <jchandra@broadcom.com>2013-06-10 06:30:02 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2013-06-13 15:46:41 (GMT)
commit1c146cd46fccfaa5525152f086da2752fe0ed4dd (patch)
treeaa1980df5d4a1ec42abb0665086daf8464074647 /arch/mips/wrppmc/reset.c
parent83bee792d7cb20d250be57e99d97f8cc83d9b4d5 (diff)
downloadlinux-fsl-qoriq-1c146cd46fccfaa5525152f086da2752fe0ed4dd.tar.xz
MIPS: Netlogic: Fix nlm_read_c2_status() definition
The sel argument os nlm_read_c2_status() was not used and the macro returned the sel 0 in all cases. Fix this by defining two macros: nlm_read_c2_status0() and nlm_read_c2_status1() to return the two status registers. Add functions to write to the status registers as well. Signed-off-by: Jayachandran C <jchandra@broadcom.com> Cc: linux-mips@linux-mips.org Cc: ddaney.cavm@gmail.com Patchwork: https://patchwork.linux-mips.org/patch/5414/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/wrppmc/reset.c')
0 files changed, 0 insertions, 0 deletions