imx: move ATF to the back of the FIT to fix loading over yModem
authorPatrick Wildt <patrick@blueri.se>
Fri, 8 May 2020 09:59:47 +0000 (11:59 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 8 Jun 2020 08:41:38 +0000 (10:41 +0200)
commit0e9c045b2b6a0409d650dd39265b4f6924a69832
tree6905f48f10fb45a0fdd9b64d0422f2b2e3f96edd
parentf3e1c536a9d9b9940f02d0b4f24eb818e31398dc
imx: move ATF to the back of the FIT to fix loading over yModem

With yModem the FIT Image is only supplied once, so we can only
seek forward in the yModem supplied image and never backwards.
With the recent changes to the SPL mechanism, including loading
U-Boot first, FDT after, then the loadables, we must also reorder
the FIT image script to make sure that the loadables are last in
the FIT image.

Signed-off-by: Patrick Wildt <patrick@blueri.se>
Tested-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
arch/arm/mach-imx/mkimage_fit_atf.sh