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

Fixup AArch32 errata printing framework
This commit is contained in:
davidcunado-arm 2018-02-22 23:29:11 +00:00 committed by GitHub
commit 2e919a39d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -206,7 +206,8 @@ endfunc cpu_rev_var_hs
*/
.globl 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
/*
* BL1 doesn't have per-CPU data. So retrieve the CPU operations
@ -241,6 +242,6 @@ func print_errata_status
blxne r4
1:
#endif
pop {r4, pc}
pop {r4, r5, r12, pc}
endfunc print_errata_status
#endif