summaryrefslogtreecommitdiff
path: root/plat/arm/css/common/aarch64/css_helpers.S
diff options
context:
space:
mode:
Diffstat (limited to 'plat/arm/css/common/aarch64/css_helpers.S')
-rw-r--r--plat/arm/css/common/aarch64/css_helpers.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/plat/arm/css/common/aarch64/css_helpers.S b/plat/arm/css/common/aarch64/css_helpers.S
index 5d5bf863..05bd8647 100644
--- a/plat/arm/css/common/aarch64/css_helpers.S
+++ b/plat/arm/css/common/aarch64/css_helpers.S
@@ -77,7 +77,7 @@ endfunc plat_get_my_entrypoint
* Function to calculate the core position by
* swapping the cluster order. This is necessary in order to
* match the format of the boot information passed by the SCP
- * and read in platform_is_primary_cpu below.
+ * and read in plat_is_my_cpu_primary below.
* -----------------------------------------------------------
*/
func plat_arm_calc_core_pos
@@ -102,6 +102,6 @@ func plat_is_my_cpu_primary
ldr x1, [x1]
ubfx x1, x1, #PRIMARY_CPU_SHIFT, #PRIMARY_CPU_BIT_WIDTH
cmp x0, x1
- cset x0, eq
+ cset w0, eq
ret x9
endfunc plat_is_my_cpu_primary