mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 13:36:05 +00:00
Fixup AArch32 errata printing framework
The AArch32 assembly implementation of `print_errata_status` did not save a register which was getting clobbered by a `get_cpu_ops_ptr`. This patch fixes that. Change-Id: Id0711e46b7c685a18a10328d4b513e952a5d860b Signed-off-by: Soby Mathew <soby.mathew@arm.com>
This commit is contained in:
parent
4535554e68
commit
7af7038e87
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue