Unverified Commit 2e919a39 authored by davidcunado-arm's avatar davidcunado-arm Committed by GitHub
Browse files

Merge pull request #1278 from soby-mathew/sm/aarch32_errata_fix

Fixup AArch32 errata printing framework
parents 4535554e 7af7038e
Showing with 3 additions and 2 deletions
+3 -2
...@@ -206,7 +206,8 @@ endfunc cpu_rev_var_hs ...@@ -206,7 +206,8 @@ endfunc cpu_rev_var_hs
*/ */
.globl print_errata_status .globl print_errata_status
func print_errata_status func print_errata_status
push {r4, lr} /* r12 is pushed only for the sake of 8-byte stack alignment */
push {r4, r5, r12, lr}
#ifdef IMAGE_BL1 #ifdef IMAGE_BL1
/* /*
* BL1 doesn't have per-CPU data. So retrieve the CPU operations * BL1 doesn't have per-CPU data. So retrieve the CPU operations
...@@ -241,6 +242,6 @@ func print_errata_status ...@@ -241,6 +242,6 @@ func print_errata_status
blxne r4 blxne r4
1: 1:
#endif #endif
pop {r4, pc} pop {r4, r5, r12, pc}
endfunc print_errata_status endfunc print_errata_status
#endif #endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment