arm-trusted-firmware/plat/rockchip/common
Thomas Hebb e7b586987c rockchip: don't crash if we get an FDT we can't parse
When we parse the param from BL2, we try to parse it as a FDT and then,
if that fails, as aux params. However, we don't sufficiently distinguish
between failure modes in the first step: specifically, if we are given
an FDT with good magic that we can't parse for some other reason (e.g.
not enough space in our buffer), we still attempt to parse it as aux
params even though that's guaranteed to fatal. Instead, we should either
fail with a more descriptive message or continue to boot without parsing
the FDT.

This patch takes the latter approach, since all we currently get from
the FDT is non-critical UART params.

Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
Change-Id: I1e98f1fcda4f78e6b45e86956288bafe58b113e4
2020-07-04 15:37:25 -07:00
..
aarch32 rockchip: add common aarch32 support 2019-04-25 13:37:56 +02:00
aarch64 rockchip: move pmusram assembler code to a aarch64 subdir 2019-04-25 13:37:56 +02:00
drivers rockchip: fix definition of struct param_ddr_usage 2020-02-17 08:53:39 +08:00
include Merge changes from topic "rockchip-uart-fixes" into integration 2019-08-15 15:30:13 +00:00
pmusram Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
bl31_plat_setup.c 16550: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
params_setup.c rockchip: don't crash if we get an FDT we can't parse 2020-07-04 15:37:25 -07:00
plat_pm.c Use correct type when reading SCR register 2020-01-28 11:10:48 +00:00
plat_topology.c rockchip: add common aarch32 support 2019-04-25 13:37:56 +02:00
rockchip_gicv2.c rockchip: Fix GICv2 interrupts 2019-01-28 14:35:50 +00:00
rockchip_gicv3.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
rockchip_sip_svc.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
sp_min_plat_setup.c 16550: Use generic console_t data structure 2020-02-25 09:34:38 +00:00