arm-trusted-firmware/plat
Andre Przywara 6e3a89f449 fdt/wrappers: Generalise fdtw_read_array()
Currently our fdtw_read_array() implementation requires the length of
the property to exactly match the requested size, which makes it less
flexible for parsing generic device trees.
Also the name is slightly misleading, since we treat the cells of the
array as 32 bit unsigned integers, performing the endianess conversion.

To fix those issues and align the code more with other DT users (Linux
kernel or U-Boot), rename the function to "fdt_read_uint32_array", and
relax the length check to only check if the property covers at least the
number of cells we request.
This also changes the variable names to be more in-line with other DT
users, and switches to the proper data types.

This makes this function more useful in later patches.

Change-Id: Id86f4f588ffcb5106d4476763ecdfe35a735fa6c
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2020-04-28 15:56:31 +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 fdt/wrappers: Generalise fdtw_read_array() 2020-04-28 15:56:31 +01:00
brcm stingray: fix coverity reported issues on brcm platform 2020-04-13 18:43:29 +05:30
common Flush dcache when storing timestamp 2020-03-27 09:41:12 -05: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 stm32mp1: use stm32mp_get_ddr_ns_size() function 2020-03-26 18:34:01 +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