esdhc-pbl: add piggy load function
Add a function to load and copy the piggy data to the correct offset
expected by barebox in the RAM. This way the PBL can later verify the
piggydata before uncompressing and loading the main barebox.

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 390ee3e commit f5fb1262857619dd3c15dfa4266a4534dd85f736
@Rouven Czerwinski Rouven Czerwinski authored on 6 Aug 2019
Sascha Hauer committed on 7 Aug 2019
Showing 3 changed files
View
arch/arm/mach-imx/include/mach/xload.h
View
arch/arm/mach-imx/xload-common.c
View
drivers/mci/imx-esdhc-pbl.c