aboutsummaryrefslogtreecommitdiffstats
path: root/plat
diff options
context:
space:
mode:
authorKrishna Sitaraman <ksitaraman@nvidia.com>2017-06-30 13:51:12 -0700
committerVarun Wadekar <vwadekar@nvidia.com>2019-11-28 11:14:21 -0800
commit79b65666be657006f5cc7dadaf85103fd136703f (patch)
treefbad9f9bac270d7264b219adc4ff203fc18d0733 /plat
parent2cd2e399f60b11a3bf1cc6e7988425d0d714a975 (diff)
downloadplatform_external_arm-trusted-firmware-79b65666be657006f5cc7dadaf85103fd136703f.tar.gz
platform_external_arm-trusted-firmware-79b65666be657006f5cc7dadaf85103fd136703f.tar.bz2
platform_external_arm-trusted-firmware-79b65666be657006f5cc7dadaf85103fd136703f.zip
Tegra194: Update cpu core-id calculation
This patch updates the cpu core id calculation to match with internal numbering method used by the MTS. Change-Id: I5fbe9c8685c23017edc796e114d07c5e979e0d3d Signed-off-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Diffstat (limited to 'plat')
-rw-r--r--plat/nvidia/tegra/soc/t194/plat_psci_handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/nvidia/tegra/soc/t194/plat_psci_handlers.c b/plat/nvidia/tegra/soc/t194/plat_psci_handlers.c
index 8208df01e..adfd6cf41 100644
--- a/plat/nvidia/tegra/soc/t194/plat_psci_handlers.c
+++ b/plat/nvidia/tegra/soc/t194/plat_psci_handlers.c
@@ -297,7 +297,7 @@ int tegra_soc_pwr_domain_on(u_register_t mpidr)
}
/* construct the target CPU # */
- target_cpu |= (target_cluster << 2);
+ target_cpu += (target_cluster << 1);
mce_command_handler(MCE_CMD_ONLINE_CORE, target_cpu, 0, 0);