diff options
author | Graeme Gregory <graeme@nuviainc.com> | 2020-08-28 16:37:02 +0100 |
---|---|---|
committer | Graeme Gregory <graeme@nuviainc.com> | 2021-01-19 18:40:05 +0000 |
commit | 5565ede44a80805789d375aaae2773e02119cf9b (patch) | |
tree | 24ab657960030061f0b2c957a4cef2a4b5e66950 /plat/qemu/qemu_sbsa/sbsa_private.h | |
parent | 916a7e11e2e78ff31114018b139874635fe8fc24 (diff) |
qemu/qemu_sbsa: topology is different from qemu so add handling
sbsa-ref in QEMU creates clusers of 8 cores, it may create up to 512
cores in upto 64 clusters. Implement a qemu_sbsa specific topology file
and increase the BL31_SIZE to accommodate the bigger table sizes. Change
platform_def.h for new topology. Correct PLATFORM_CPU_PER_CLUSTER_SHIFT so
plat_helpers.S calculates correct result.
Signed-off-by: Graeme Gregory <graeme@nuviainc.com>
Change-Id: Idc5d70394c0956b759ad2c86f9fda8f293f2cfa7
Diffstat (limited to 'plat/qemu/qemu_sbsa/sbsa_private.h')
-rw-r--r-- | plat/qemu/qemu_sbsa/sbsa_private.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/plat/qemu/qemu_sbsa/sbsa_private.h b/plat/qemu/qemu_sbsa/sbsa_private.h new file mode 100644 index 0000000000..29ee1d0710 --- /dev/null +++ b/plat/qemu/qemu_sbsa/sbsa_private.h @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2020, Nuvia Inc + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef SBSA_PRIVATE_H +#define SBSA_PRIVATE_H + +#include <stdint.h> + +unsigned int plat_qemu_calc_core_pos(u_register_t mpidr); + +#endif /* SBSA_PRIVATE_H */ |