arm-trusted-firmware/plat/arm/common
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 Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00
aarch64 Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00
fconf fdt/wrappers: Generalise fdtw_read_array() 2020-04-28 15:56:31 +01:00
sp_min fconf: necessary modifications to support fconf in BL31 & SP_MIN 2020-03-11 11:24:55 -05:00
tsp Merge "pl011: Use generic console_t data structure" into integration 2020-02-25 23:16:14 +00:00
arm_bl1_fwu.c plat/arm: Sanitise includes 2019-01-25 16:04:10 +00:00
arm_bl1_setup.c MISRA fix: Use boolean essential type 2020-02-07 13:51:32 +00:00
arm_bl2_el3_setup.c Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00
arm_bl2_setup.c spmd: skip loading of secure partitions on pre-v8.4 platforms 2020-03-23 19:30:48 +00:00
arm_bl2u_setup.c Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00
arm_bl31_setup.c Read-only xlat tables for BL31 memory 2020-02-24 16:52:56 +00:00
arm_cci.c plat/arm: Sanitise includes 2019-01-25 16:04:10 +00:00
arm_ccn.c plat/arm: Sanitise includes 2019-01-25 16:04:10 +00:00
arm_common.c Implement SMCCC_ARCH_SOC_ID SMC call 2020-03-17 10:14:35 +00:00
arm_common.mk Merge "fconf: Clean Arm IO" into integration 2020-03-24 18:14:24 +00:00
arm_console.c pl011: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
arm_dyn_cfg.c FVP: Add BL2 hash calculation in BL1 2020-03-25 16:14:26 +00:00
arm_dyn_cfg_helpers.c FVP: Add BL2 hash calculation in BL1 2020-03-25 16:14:26 +00:00
arm_err.c arm: Shorten the Firmware Update (FWU) process 2019-07-23 10:41:41 +01:00
arm_gicv2.c plat/arm: Sanitise includes 2019-01-25 16:04:10 +00:00
arm_gicv3.c arm: gicv3: Fix compiler dependent behavior 2019-12-10 15:53:44 -06:00
arm_image_load.c spmd: skip loading of secure partitions on pre-v8.4 platforms 2020-03-23 19:30:48 +00:00
arm_io_storage.c Check for out-of-bound accesses in the platform io policies 2020-04-02 15:57:55 +02:00
arm_nor_psci_mem_protect.c Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00
arm_pm.c Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00
arm_sip_svc.c Merge "debugfs: add SMC channel" into integration 2019-12-20 20:56:23 +00:00
arm_topology.c plat/arm: use Aff3 bits also to validate mpidr 2019-10-21 14:09:46 +01:00
arm_tzc400.c plat/arm/tzc: add support to configure multiple tzc400 2020-02-19 13:26:53 +05:30
arm_tzc_dmc500.c plat/arm: Sanitise includes 2019-01-25 16:04:10 +00:00