arm-trusted-firmware/plat/arm/board/fvp
Andre Przywara 364ad245a2 arm: fconf: Fix GICv3 dynamic configuration
At the moment the fconf_populate_gicv3_config() implementation is
somewhat incomplete: First it actually fails to store the retrieved
information (the local addr[] array is going nowhere), but also it makes
quite some assumptions about the device tree passed to it: it needs to
use two address-cells and two size-cells, and also requires all five
register regions to be specified, where actually only the first two
are mandatory according to the binding (and needed by our code).

Fix this by introducing a proper generic function to retrieve "reg"
property information from a DT node:
We retrieve the #address-cells and #size-cells properties from the
parent node, then use those to extract the right values from the "reg"
property. The function takes an index to select one region of a reg
property.

This is loosely based on the STM32 implementation using "reg-names",
which we will subsume in a follow-up patch.

Change-Id: Ia59bfdf80aea4e36876c7b6ed4d153e303f482e8
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2020-04-30 10:09:18 +01:00
..
aarch32 fvp: pwrc: Move to drivers/ folder 2019-01-25 16:04:11 +00:00
aarch64 FVP: Remove GIC initialisation from secondary core cold boot 2019-06-05 17:46:50 +01:00
fconf arm: fconf: Fix GICv3 dynamic configuration 2020-04-30 10:09:18 +01:00
fdts spm: Normalize the style of spm core manifest 2020-04-23 10:55:04 +01:00
include arm: fconf: Fix GICv3 dynamic configuration 2020-04-30 10:09:18 +01:00
sp_min FVP: In BL31/SP_MIN, map only the needed DRAM region statically 2020-03-17 14:31:24 -05:00
tsp fvp: pwrc: Move to drivers/ folder 2019-01-25 16:04:11 +00:00
fvp_bl1_setup.c FVP: Add BL2 hash calculation in BL1 2020-03-25 16:14:26 +00:00
fvp_bl2_el3_setup.c plat/arm: Sanitise includes 2019-01-25 16:04:10 +00:00
fvp_bl2_setup.c Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00
fvp_bl2u_setup.c FVP: Add Delay Timer driver to BL1 and BL31 2019-08-16 14:15:59 +01:00
fvp_bl31_setup.c fconf: necessary modifications to support fconf in BL31 & SP_MIN 2020-03-11 11:24:55 -05:00
fvp_common.c FVP: In BL31/SP_MIN, map only the needed DRAM region statically 2020-03-17 14:31:24 -05:00
fvp_def.h FVP: Add support for GICv4 extension 2020-04-07 11:48:00 +01:00
fvp_err.c Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00
fvp_io_storage.c arm-io: Panic in case of io setup failure 2020-02-07 13:51:32 +00:00
fvp_pm.c Provide a hint to power controller for DSU cluster power down 2020-04-15 10:10:24 -05:00
fvp_private.h FVP: Add Delay Timer driver to BL1 and BL31 2019-08-16 14:15:59 +01:00
fvp_security.c plat/arm/tzc: add support to configure multiple tzc400 2020-02-19 13:26:53 +05:30
fvp_stack_protector.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
fvp_topology.c plat/arm/fvp: populate pwr domain descriptor dynamically 2020-03-11 19:27:02 -05:00
fvp_trusted_boot.c plat/arm: Pass cookie argument down to arm_get_rotpk_info() 2020-02-24 11:01:46 +01:00
jmptbl.i arm: fconf: Fix GICv3 dynamic configuration 2020-04-30 10:09:18 +01:00
platform.mk FVP: Add support for GICv4 extension 2020-04-07 11:48:00 +01:00