arm: cmsis: Convert printing of MMFSR, BFSR, and UFSR to CMSIS
Converted access to CFSR MMFSR, BFSR, and UFSR to use direct CMSIS register access when printing out the values of those registers. Jira: ZEP-1568 Change-Id: I7969bb81346327637140ec23d91422a6bfaef032 Signed-off-by: Kumar Gala <kumar.gala@linaro.org> Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
737207f052
commit
80ed5ccc78
1 changed files with 1 additions and 4 deletions
|
@ -71,10 +71,7 @@ void _FaultDump(const NANO_ESF *esf, int fault)
|
|||
}
|
||||
|
||||
PR_EXC("MMFSR: 0x%" PRIx32 ", BFSR: 0x%" PRIx32 ", UFSR: 0x%"
|
||||
PRIx32 "\n",
|
||||
__scs.scb.cfsr.byte.mmfsr.val,
|
||||
__scs.scb.cfsr.byte.bfsr.val,
|
||||
__scs.scb.cfsr.byte.ufsr.val);
|
||||
PRIx32 "\n", SCB_MMFSR, SCB_BFSR, SCB_MMFSR);
|
||||
|
||||
if (SCB->CFSR & CFSR_MMARVALID_Msk) {
|
||||
PR_EXC("MMFAR: 0x%" PRIx32 "\n", SCB->MMFAR);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue