arm-trusted-firmware/plat/rockchip/rk3368
Philipp Tomsich 198a705f6e rockchip: rk3368: fix PLAT_RK_CLST_TO_CPUID_SHIFT
The RK3368 has two clusters of 4 cores and it's cluster id starts at
bit 8 of the MPIDR.  To convert from the cluster id (0 or 1) to the
lowest CPU-ID in the respective cluster, we thus need to shift by 6
(i.e. shift by 8 to extract the cluster-id and multiply by 4).

This change is required to ensure the PSCI support can index the
per-cpu entry-address array correctly.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Change-Id: I64a76038f090a85a47067f09f750e96e3946e756
2020-06-09 22:01:43 +02:00
..
drivers Update rockchip platform to not rely on undefined overflow behaviour 2019-07-11 12:10:58 +01:00
include rockchip: rk3368: fix PLAT_RK_CLST_TO_CPUID_SHIFT 2020-06-09 22:01:43 +02:00
plat_sip_calls.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
platform.mk plat/rockchip: Use new bl31_params_parse_helper() 2019-07-24 11:04:03 -07:00
rk3368_def.h rockchip: Streamline and complete UARTn_BASE macros. 2019-05-01 02:15:43 +02:00