commit | 0a15c7f33cb83c931068add7df8bd980ef14348d | [log] [tgz] |
---|---|---|
author | Graeme Gregory <graeme@nuviainc.com> | Wed Dec 16 14:13:07 2020 +0000 |
committer | Graeme Gregory <graeme@nuviainc.com> | Tue Jan 19 18:35:55 2021 +0000 |
tree | ee3fcbd774bbbccdf03f3b0de92994108ed5bb2c | |
parent | ba6ac52675b2f9c563d30f5d3528ccf1e0fecda5 [diff] |
qemu/aarch64/plat_helpers.S : calculate the position shift Rather than re-create this file in multiple qemu variants instead caclulate the shift needed to convert MPIDR to position. Add a new PLATFORM_CPU_PER_CLUSTER_SHIFT define in platform_def.h for both qemu and qemu_sbsa to enable this calculation. Signed-off-by: Graeme Gregory <graeme@nuviainc.com> Change-Id: I0e3a86354aa716d95150a3a34b15287cd70c8fd2