summaryrefslogtreecommitdiff
path: root/plat/imx/common/imx8_helpers.S
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2017-05-12 18:32:49 +0800
committerAbel Vesa <abel.vesa@nxp.com>2018-06-08 17:34:08 +0300
commit5bb15033c25883396ee5c5c0383d1cf9b1fa9286 (patch)
treef5c8ff850da0a55b342b1147187f9ff19ff36220 /plat/imx/common/imx8_helpers.S
parentb7de3462169e98839eff4a20fdb1dc9fe43b6031 (diff)
Add support for A72 CPU0 as primary cpu
Need to add support for booting up A72 cluster only, so on need to check the cluster ID for primary CPU, that means if CPU ID is 0, then it can be as primary CPU. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Diffstat (limited to 'plat/imx/common/imx8_helpers.S')
-rw-r--r--plat/imx/common/imx8_helpers.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/imx/common/imx8_helpers.S b/plat/imx/common/imx8_helpers.S
index 091d60a5..f2da325d 100644
--- a/plat/imx/common/imx8_helpers.S
+++ b/plat/imx/common/imx8_helpers.S
@@ -74,7 +74,7 @@
*/
func plat_is_my_cpu_primary
mrs x0, mpidr_el1
- and x0, x0, #(MPIDR_CLUSTER_MASK | MPIDR_CPU_MASK)
+ and x0, x0, #(MPIDR_CPU_MASK)
cmp x0, #PLAT_PRIMARY_CPU
cset x0, eq
ret