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:
Okash Khawaja 2023-04-28 13:18:28 +01:00
parent e31de867a2
commit baeaf292ce

View file

@ -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