arm-trusted-firmware/plat/arm/board
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
..
a5ds Create separate header for ARM specific SMCCC defines 2020-03-30 12:21:38 +00:00
arm_fpga arm_fpga: Remove bogus timer initialisation 2020-04-09 13:53:50 +01:00
common plat/arm: Retrieve the right ROTPK when using the dualroot CoT 2020-02-24 11:01:48 +01:00
corstone700 Create separate header for ARM specific SMCCC defines 2020-03-30 12:21:38 +00:00
fvp arm: fconf: Fix GICv3 dynamic configuration 2020-04-30 10:09:18 +01:00
fvp_ve Create separate header for ARM specific SMCCC defines 2020-03-30 12:21:38 +00:00
juno arm: fconf: Fix GICv3 dynamic configuration 2020-04-30 10:09:18 +01:00
n1sdp TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
rddaniel plat/arm/rddaniel: enabled GICv4 extension 2020-04-07 18:43:44 +05:30
rddanielxlr board/rddanielxlr: add support for rd-daniel config-xlr platform 2020-04-23 10:03:47 +05:30
rde1edge plat/arm: Pass cookie argument down to arm_get_rotpk_info() 2020-02-24 11:01:46 +01:00
rdn1edge plat: remove redundant =1 from -D option 2020-04-02 14:14:10 +09:00
sgi575 plat/arm: Pass cookie argument down to arm_get_rotpk_info() 2020-02-24 11:01:46 +01:00
sgm775 plat/sgm775: Add support for dynamic config using fconf 2020-03-30 16:14:55 -05:00