Tegra: assembly version of the 'plat_core_pos_by_mpidr' handler
The 'plat_core_pos_by_mpidr' handler gets called very early during boot
and the compiler generated code overwrites the caller's registers.

This patch converts the 'plat_core_pos_by_mpidr' handler into an assembly
function and uses registers x0-x3, to fix this anomaly.

Change-Id: I8d974e007a0bad039defaf77b11a180d899ead3c
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
1 parent 89121c2 commit 0ac1bf7218d5b7146a4cd9a2ec93ef1e3c7b6728
@Varun Wadekar Varun Wadekar authored on 27 Nov 2018
Showing 3 changed files
View
plat/nvidia/tegra/common/aarch64/tegra_helpers.S
View
plat/nvidia/tegra/common/tegra_common.mk
View
plat/nvidia/tegra/common/tegra_topology.c 100644 → 0