arm-trusted-firmware/plat/arm/board/juno
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 plat/arm: Fix header dependencies 2019-01-15 14:19:50 +00:00
aarch64 plat/arm: Fix header dependencies 2019-01-15 14:19:50 +00:00
fdts fconf: Add dynamic config DTBs info as property 2020-02-07 13:51:32 +00:00
include juno/sgm: Align SCP_BL2 to page boundary 2020-04-17 14:48:15 +02:00
sp_min plat/arm: remove weak implemention of 'plat_arm_psci_override_pm_ops' function 2018-11-29 15:05:59 +05:30
tsp juno: Add security sources for tsp-juno 2019-04-30 14:42:49 +01:00
jmptbl.i fdt/wrappers: Generalise fdtw_read_array() 2020-04-28 15:56:31 +01:00
juno_bl1_setup.c MISRA fix: Use boolean essential type 2020-02-07 13:51:32 +00:00
juno_bl2_setup.c plat/arm: Sanitise includes 2019-01-25 16:04:10 +00:00
juno_common.c Merge changes from topic "lm/juno_dyn_cfg" into integration 2019-08-16 10:24:53 +00:00
juno_decl.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
juno_def.h Unify type of "cpu_idx" across PSCI module. 2020-01-10 17:11:51 +00:00
juno_err.c Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00
juno_pm.c plat/arm: scmi: Move to drivers/ folder 2019-01-25 16:04:11 +00:00
juno_security.c plat/arm/tzc: add support to configure multiple tzc400 2020-02-19 13:26:53 +05:30
juno_stack_protector.c plat/arm: Fix header dependencies 2019-01-15 14:19:50 +00:00
juno_topology.c drivers/arm/scmi: allow use of multiple SCMI channels 2020-02-07 19:24:17 +05:30
juno_trng.c plat/arm: Fix header dependencies 2019-01-15 14:19:50 +00:00
juno_trusted_boot.c Adds option to read ROTPK from registers for FVP 2020-02-06 16:58:53 +00:00
juno_tzmp1_def.h plat/arm: Fix header dependencies 2019-01-15 14:19:50 +00:00
platform.mk plat: remove redundant =1 from -D option 2020-04-02 14:14:10 +09:00