summaryrefslogtreecommitdiffstats
path: root/drivers/mci/imx-esdhc-pbl.c
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2020-01-07 11:25:14 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-01-09 08:54:02 +0100
commite973ec56e7117c601e3b69c9d3c8e0bf206977f3 (patch)
tree442d9e6948d2e8c730099d3f87f1e6c59f248e99 /drivers/mci/imx-esdhc-pbl.c
parent9cede726c6f74af359090fe2c602f244be343c02 (diff)
downloadbarebox-e973ec56e7117c601e3b69c9d3c8e0bf206977f3.tar.gz
barebox-e973ec56e7117c601e3b69c9d3c8e0bf206977f3.tar.xz
ARM: nxp-imx8mq-evk: fix second stage booting
If the whole image already resides in DRAM, e.g. by starting the image via the bootm handler we try to load the piggydata from storage, which may well be different from our expected piggydata, already present in DRAM. Fix this by avoiding the special piggydata load function, but instead load the whole image after DRAM is up and just replace the PBL part to ensure we are still running the HAB validated code after TF-A hands back control to our code in DRAM. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mci/imx-esdhc-pbl.c')
0 files changed, 0 insertions, 0 deletions