mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00
refactor(cpus): use BIT macro in a consistent manner
In assembly code, BIT macro is used with a preceding hash #. Let's update Cortex X1 code to follow the same convention. Excluding hash doesn't cause compilation to fail or emit incorrect code. Signed-off-by: Okash Khawaja <okash@google.com> Change-Id: If304cdf90542d2edcab3e2d66cd7e905ff7fd047
This commit is contained in:
parent
e31de867a2
commit
baeaf292ce
1 changed files with 3 additions and 3 deletions
|
@ -37,7 +37,7 @@ func errata_x1_1821534_wa
|
|||
bl check_errata_1821534
|
||||
cbz x0, 1f
|
||||
mrs x1, CORTEX_X1_ACTLR2_EL1
|
||||
orr x1, x1, BIT(2)
|
||||
orr x1, x1, #BIT(2)
|
||||
msr CORTEX_X1_ACTLR2_EL1, x1
|
||||
isb
|
||||
1:
|
||||
|
@ -64,7 +64,7 @@ func errata_x1_1688305_wa
|
|||
bl check_errata_1688305
|
||||
cbz x0, 1f
|
||||
mrs x0, CORTEX_X1_ACTLR2_EL1
|
||||
orr x0, x0, BIT(1)
|
||||
orr x0, x0, #BIT(1)
|
||||
msr CORTEX_X1_ACTLR2_EL1, x0
|
||||
isb
|
||||
|
||||
|
@ -92,7 +92,7 @@ func errata_x1_1827429_wa
|
|||
bl check_errata_1827429
|
||||
cbz x0, 1f
|
||||
mrs x0, CORTEX_X1_CPUECTLR_EL1
|
||||
orr x0, x0, BIT(53)
|
||||
orr x0, x0, #BIT(53)
|
||||
msr CORTEX_X1_CPUECTLR_EL1, x0
|
||||
isb
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue