Tegra: remove "platform_get_core_pos" function
This patch removes the deprecated 'plat_core_pos_by_mpidr' function from the Tegra platform port. Change-Id: I32e06cb7269e4fbfaf9ad6c26d0722201f982f9e Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
This commit is contained in:
parent
7cd336ab9f
commit
f41dc86c1e
|
@ -166,23 +166,6 @@ func plat_get_my_entrypoint
|
|||
ret
|
||||
endfunc plat_get_my_entrypoint
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* int platform_get_core_pos(int mpidr);
|
||||
*
|
||||
* result: CorePos = (ClusterId * cpus per cluster) +
|
||||
* CoreId
|
||||
* -----------------------------------------------------
|
||||
*/
|
||||
func platform_get_core_pos
|
||||
and x1, x0, #MPIDR_CPU_MASK
|
||||
and x0, x0, #MPIDR_CLUSTER_MASK
|
||||
lsr x0, x0, #MPIDR_AFFINITY_BITS
|
||||
mov x2, #PLATFORM_MAX_CPUS_PER_CLUSTER
|
||||
mul x0, x0, x2
|
||||
add x0, x1, x0
|
||||
ret
|
||||
endfunc platform_get_core_pos
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* void plat_secondary_cold_boot_setup (void);
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue