]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: fit: Make room in the FDT before applying overlays
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Tue, 22 Oct 2019 14:39:12 +0000 (16:39 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 7 Jan 2020 16:12:47 +0000 (11:12 -0500)
commit99329be2c58d53ccf8f597bab3de85f4c572b152
tree1faf4e8347dde0e46a7a6dbb263278a5b3bcaa75
parent9d13b8725481ee5651c6e881e5d336142b813b14
spl: fit: Make room in the FDT before applying overlays

Make room in the FDT before applying the overlay, otherwise it may fail if
the overlay is big. As the exact added size is not known in advance, just
add the size of the overlay.
Move after the end of the application of the overlays, the resize  of the
FDT for the injection of the details on the loadables.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/spl/spl_fit.c