mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-27 15:24:54 +00:00
refactor(cpus): convert Neoverse Poseidon to use CPU helpers
Signed-off-by: Arvind Ram Prakash <arvind.ramprakash@arm.com> Change-Id: Icf406c05cdb8d62cd0f41a5f19ae5376707e69bd
This commit is contained in:
parent
471e0b8b34
commit
b98eb2dc1d
1 changed files with 5 additions and 5 deletions
|
@ -32,8 +32,8 @@ workaround_reset_start neoverse_poseidon, CVE(2022,23960), WORKAROUND_CVE_2022_2
|
|||
* The Neoverse-poseidon generic vectors are overridden to apply errata
|
||||
* mitigation on exception entry from lower ELs.
|
||||
*/
|
||||
adr x0, wa_cve_vbar_neoverse_poseidon
|
||||
msr vbar_el3, x0
|
||||
override_vector_table wa_cve_vbar_neoverse_poseidon
|
||||
|
||||
#endif /* IMAGE_BL31 */
|
||||
workaround_reset_end neoverse_poseidon, CVE(2022,23960)
|
||||
|
||||
|
@ -48,9 +48,9 @@ func neoverse_poseidon_core_pwr_dwn
|
|||
* Enable CPU power down bit in power control register
|
||||
* ---------------------------------------------
|
||||
*/
|
||||
mrs x0, NEOVERSE_POSEIDON_CPUPWRCTLR_EL1
|
||||
orr x0, x0, #NEOVERSE_POSEIDON_CPUPWRCTLR_EL1_CORE_PWRDN_BIT
|
||||
msr NEOVERSE_POSEIDON_CPUPWRCTLR_EL1, x0
|
||||
sysreg_bit_set NEOVERSE_POSEIDON_CPUPWRCTLR_EL1, \
|
||||
NEOVERSE_POSEIDON_CPUPWRCTLR_EL1_CORE_PWRDN_BIT
|
||||
|
||||
isb
|
||||
ret
|
||||
endfunc neoverse_poseidon_core_pwr_dwn
|
||||
|
|
Loading…
Add table
Reference in a new issue