aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBipin Ravi <bipin.ravi@arm.com>2023-05-02 17:01:02 +0200
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2023-05-02 17:01:02 +0200
commitfecd243cfa7486029631f26ef285497f2c0297ce (patch)
tree653ff437c37fdda7203fcc8adbbe3004d5c84212
parentd494b0eff5b4b9b11a0965aadde580dee3ce2098 (diff)
parentbaeaf292ce1e78714af5de0c327a50a5967e3d47 (diff)
downloadtrusted-firmware-a-fecd243cfa7486029631f26ef285497f2c0297ce.tar.gz
Merge "refactor(cpus): use BIT macro in a consistent manner" into integration
-rw-r--r--lib/cpus/aarch64/cortex_x1.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/cpus/aarch64/cortex_x1.S b/lib/cpus/aarch64/cortex_x1.S
index 9a7f66652..de653655b 100644
--- a/lib/cpus/aarch64/cortex_x1.S
+++ b/lib/cpus/aarch64/cortex_x1.S
@@ -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