arm-trusted-firmware/plat
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
..
allwinner allwinner: H6: Fix GPIO and CCU memory map addresses 2020-03-23 11:04:46 +00:00
amlogic meson: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
arm arm: fconf: Fix GICv3 dynamic configuration 2020-04-30 10:09:18 +01:00
brcm stingray: fix coverity reported issues on brcm platform 2020-04-13 18:43:29 +05:30
common fdt/wrappers: Replace fdtw_read_cells() implementation 2020-04-29 10:19:17 +01:00
hisilicon hikey960: Enable system power off callback 2020-03-02 22:34:21 +08:00
imx Merge "plat: imx: imx8qx: provide debug uart num as build param" into integration 2020-03-31 21:27:39 +00:00
intel/soc Merge "intel: Enable EMAC PHY in Intel FPGA platform" into integration 2020-02-28 10:51:49 +00:00
layerscape LS 16550: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
marvell TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
mediatek linker_script: move .data section to bl_common.ld.h 2020-04-25 20:09:08 +09:00
nvidia/tegra Tegra: enable EHF for watchdog timer interrupts 2020-04-01 14:53:24 -07:00
qemu TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
renesas/rcar rcar: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
rockchip TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
rpi rpi: Implement PSCI CPU_OFF 2020-04-01 15:58:57 +01:00
socionext uniphier: define PLAT_XLAT_TABLES_DYNAMIC only for BL2 2020-04-02 15:16:31 +09:00
st plat/stm32: Implement fdt_read_uint32_default() as a wrapper 2020-04-29 10:19:17 +01:00
ti/k3 TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
xilinx Merge "Create separate header for ARM specific SMCCC defines" into integration 2020-03-31 14:16:40 +00:00