arm-trusted-firmware/plat/allwinner
Samuel Holland 79808f10c3 fix(allwinner): improve DTB patching error handling
Currently, if any step of the DTB patching process fails, the whole
process is aborted. However, this causes some problems:
 - If any step modifies the DTB (including fdt_open_into), the dcache
   must still be cleaned, even if some later step fails.
 - The DTB may need changes in multiple places; if one patch fails (for
   example due to missing nodes), we should still apply other patches.
 - Similarly, if some patch fails, we should still run fdt_pack to
   clean up after ourselves.

Change-Id: If1af2e58e5a7edaf542354bb8a261dd1c3da1ad0
Signed-off-by: Samuel Holland <samuel@sholland.org>
2022-04-26 17:52:20 +02:00
..
common fix(allwinner): improve DTB patching error handling 2022-04-26 17:52:20 +02:00
sun50i_a64 refactor(plat/allwinner): allow custom BL31 offset 2021-08-25 00:35:24 +08:00
sun50i_h6 refactor(plat/allwinner): allow custom BL31 offset 2021-08-25 00:35:24 +08:00
sun50i_h616 refactor(allwinner): move DTB change code into allwinner/common 2022-04-26 15:43:46 +02:00
sun50i_r329 feat(plat/allwinner): add R329 support 2021-08-25 02:11:59 +08:00