Home
last modified time | relevance | path

Searched hist:"79808 f10c32d441572666551b1545846079af15b" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/plat/allwinner/common/
H A Dsunxi_prepare_dtb.c79808f10c32d441572666551b1545846079af15b Sun Jan 23 22:30:08 UTC 2022 Samuel Holland <samuel@sholland.org> 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>