bsp: r5: enabling the asynchronous abort in boot code
This patch unmasks the A bit in CPSR to enable the asynchronous abort in boot.S Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This commit is contained in:
parent
3f2478472f
commit
d0c41612d8
1 changed files with 6 additions and 0 deletions
|
@ -196,6 +196,12 @@ OKToRun:
|
|||
and r0, r0, r1
|
||||
mcr p15, 0, r0, c1, c0, 0
|
||||
#endif
|
||||
|
||||
/* enable asynchronous abort exception */
|
||||
mrs r0, cpsr
|
||||
bic r0, r0, #0x100
|
||||
msr cpsr_xsf, r0
|
||||
|
||||
b _startup /* jump to C startup code */
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue