commit | 3063177e39b34342e0bb0272efb20c851f70b667 | [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 | 337e493306cbeda2b3e5c10f681607c7aea8bbb4 [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