mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2025-02-12 13:48:23 +00:00
HiKey: Rename CPUACTRL reg constants
Constants named as *ACTLR* refer in fact to the CPUACTRL_EL1 register. Since ACTLR and ACTRL_EL1 are different registers this patch renames these constants for clarity. Change-Id: I2a9e402dab7b0fcb6e481ee0d8a11eda943ed299 Signed-off-by: Eleanor Bonnici <Eleanor.bonnici@arm.com>
This commit is contained in:
parent
80bcf98151
commit
f9a856ba9f
@ -19,11 +19,12 @@ func pm_asm_code _align=3
|
||||
mov x0, 0
|
||||
msr oslar_el1, x0
|
||||
|
||||
mrs x0, CORTEX_A53_ACTLR_EL1
|
||||
bic x0, x0, #(CORTEX_A53_ACTLR_RADIS | CORTEX_A53_ACTLR_L1RADIS)
|
||||
mrs x0, CORTEX_A53_CPUACTLR_EL1
|
||||
bic x0, x0, #(CORTEX_A53_CPUACTLR_EL1_RADIS | \
|
||||
CORTEX_A53_CPUACTLR_EL1_L1RADIS)
|
||||
orr x0, x0, #0x180000
|
||||
orr x0, x0, #0xe000
|
||||
msr CORTEX_A53_ACTLR_EL1, x0
|
||||
msr CORTEX_A53_CPUACTLR_EL1, x0
|
||||
|
||||
mrs x3, actlr_el3
|
||||
orr x3, x3, #ACTLR_EL3_L2ECTLR_BIT
|
||||
|
Loading…
x
Reference in New Issue
Block a user