arm-trusted-firmware/plat/arm/board/fvp
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
..
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 fdt/wrappers: Generalise fdtw_read_array() 2020-04-28 15:56:31 +01:00
fdts spm: Normalize the style of spm core manifest 2020-04-23 10:55:04 +01:00
include Increase maximum size of BL2 image 2020-04-07 09:33:13 +02: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 fdt/wrappers: Generalise fdtw_read_array() 2020-04-28 15:56:31 +01:00
platform.mk FVP: Add support for GICv4 extension 2020-04-07 11:48:00 +01:00