bsp: a53: enabling the SError exception in boot code
This patch enables Serror exception in boot flow for catching the asynchronous aborts Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This commit is contained in:
parent
99a46157eb
commit
3f2478472f
1 changed files with 5 additions and 0 deletions
|
@ -198,6 +198,11 @@ OKToRun:
|
|||
msr TCR_EL3, x1
|
||||
isb
|
||||
|
||||
/* Enable SError Exception for asynchronous abort */
|
||||
mrs x1,DAIF
|
||||
bic x1,x1,#(0x1<<8)
|
||||
msr DAIF,x1
|
||||
|
||||
/* Configure SCTLR_EL3 */
|
||||
mov x1, #0 //Most of the SCTLR_EL3 bits are unknown at reset
|
||||
orr x1, x1, #(1 << 12) //Enable I cache
|
||||
|
|
Loading…
Add table
Reference in a new issue