boards: nxp-mx8-evk: rework to different boot flow
Rework the evk boot flow to use the new piggydata load function and
install a trampoline for the TF-A setup. This allows the PBL boot
process to stay in SRAM up until the verification of the piggydata is
done and main barebox can be loaded.

The trampoline loads 4 bytes right after the trampoline, we copy the
runtime offset there so the trampoline jumps back into the SRAM PBL.

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c3ec173 commit dd5dfb6ff467f6d640e48046acedfe435c649c94
@Rouven Czerwinski Rouven Czerwinski authored on 6 Aug 2019
Sascha Hauer committed on 7 Aug 2019
Showing 5 changed files
View
arch/arm/boards/nxp-imx8mq-evk/Makefile
View
arch/arm/boards/nxp-imx8mq-evk/flash-header-imx8mq-evk.imxcfg
View
arch/arm/boards/nxp-imx8mq-evk/lowlevel.c
View
arch/arm/boards/nxp-imx8mq-evk/trampoline.S 0 → 100644
View
images/Makefile.imx