Tegra: use 'PLATFORM_MAX_CPUS_PER_CLUSTER' to calculate core position
This patch updates the plat_my_core_pos() and platform_get_core_pos() helper
functions to use the `PLATFORM_MAX_CPUS_PER_CLUSTER` macro to calculate the
core position.

core_pos = CoreId + (ClusterId * PLATFORM_MAX_CPUS_PER_CLUSTER)

Change-Id: Ic49f2fc7ded23bf9484c8fe104025df8884b9faf
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
1 parent 70da35b commit b627d0837c811b2714648cc873b8b092c72432cd
@Varun Wadekar Varun Wadekar authored on 23 Aug 2017
Showing 2 changed files
View
plat/nvidia/tegra/common/aarch64/tegra_helpers.S
View
plat/nvidia/tegra/common/tegra_topology.c