diff options
author | Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> | 2019-10-11 14:01:25 +0530 |
---|---|---|
committer | Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> | 2019-11-05 10:51:24 +0530 |
commit | 74c21244005f639812b0cc68f71e501f831d8f70 (patch) | |
tree | f99113ecca8fbcc48403eab42d7cff1366a5daae /include | |
parent | 1d2b41614c5675b144ae1f4517c1f8bf249a12d2 (diff) | |
download | platform_external_arm-trusted-firmware-74c21244005f639812b0cc68f71e501f831d8f70.tar.gz platform_external_arm-trusted-firmware-74c21244005f639812b0cc68f71e501f831d8f70.tar.bz2 platform_external_arm-trusted-firmware-74c21244005f639812b0cc68f71e501f831d8f70.zip |
plat/arm/gicv3: add support for probing multiple GIC Redistributor frames
ARM platform can have a non-contiguous GICR frames. For instance, a
multi socket platform can have two or more GIC Redistributor frames
which are 4TB apart. Hence it is necessary for the `gicv3_rdistif_probe`
function to probe all the GICR frames available in the platform.
Introduce `plat_arm_override_gicr_frames` function which platforms can
use to override the default gicr_frames which holds the GICR base
address of the primary cpu.
Change-Id: I1f537b0d871a679cb256092944737f2e55ab866e
Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/plat/arm/common/plat_arm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/plat/arm/common/plat_arm.h b/include/plat/arm/common/plat_arm.h index 07a46c518..c00a04126 100644 --- a/include/plat/arm/common/plat_arm.h +++ b/include/plat/arm/common/plat_arm.h @@ -254,6 +254,11 @@ void plat_arm_program_trusted_mailbox(uintptr_t address); int plat_arm_bl1_fwu_needed(void); __dead2 void plat_arm_error_handler(int err); +/* + * Optional function in ARM standard platforms + */ +void plat_arm_override_gicr_frames(const uintptr_t *plat_gicr_frames); + #if ARM_PLAT_MT unsigned int plat_arm_get_cpu_pe_count(u_register_t mpidr); #endif |