From c5c85e87950303188abc3ce8cfc0d64ee09d124f Mon Sep 17 00:00:00 2001 From: Anson Huang Date: Fri, 12 May 2017 18:32:49 +0800 Subject: 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 --- plat/freescale/common/imx8_helpers.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plat/freescale/common') diff --git a/plat/freescale/common/imx8_helpers.S b/plat/freescale/common/imx8_helpers.S index 091d60a5..f2da325d 100644 --- a/plat/freescale/common/imx8_helpers.S +++ b/plat/freescale/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 -- cgit v1.2.3