Home
last modified time | relevance | path

Searched hist:b627d0837c811b2714648cc873b8b092c72432cd (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/plat/nvidia/tegra/common/aarch64/
H A Dtegra_helpers.Sb627d0837c811b2714648cc873b8b092c72432cd Wed Aug 23 23:02:06 UTC 2017 Varun Wadekar <vwadekar@nvidia.com> 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>