arm-trusted-firmware/plat/arm/board
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
..
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 fdt/wrappers: Generalise fdtw_read_array() 2020-04-28 15:56:31 +01:00
fvp_ve Create separate header for ARM specific SMCCC defines 2020-03-30 12:21:38 +00:00
juno fdt/wrappers: Generalise fdtw_read_array() 2020-04-28 15:56:31 +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