summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/zii-imx8mq-dev/lowlevel.c
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2020-01-07 11:25:13 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-01-09 08:53:59 +0100
commit9cede726c6f74af359090fe2c602f244be343c02 (patch)
treec41f7808d8216132d79dcb5d7ff30d4497a5a4c9 /arch/arm/boards/zii-imx8mq-dev/lowlevel.c
parent8ebc87ee196dc0b88723b5544a746f1b8dbe838f (diff)
downloadbarebox-9cede726c6f74af359090fe2c602f244be343c02.tar.gz
barebox-9cede726c6f74af359090fe2c602f244be343c02.tar.xz
esdhc-pbl: allow to skip starting i.MX8 image
Add an option that allows to just load the image into memory, but return to the calling function instead of directly jumping to the loaded image. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/zii-imx8mq-dev/lowlevel.c')
-rw-r--r--arch/arm/boards/zii-imx8mq-dev/lowlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/zii-imx8mq-dev/lowlevel.c b/arch/arm/boards/zii-imx8mq-dev/lowlevel.c
index 795c98cb66..f12d79ee6e 100644
--- a/arch/arm/boards/zii-imx8mq-dev/lowlevel.c
+++ b/arch/arm/boards/zii-imx8mq-dev/lowlevel.c
@@ -78,7 +78,7 @@ static void zii_imx8mq_dev_sram_setup(void)
imx8_get_boot_source(&src, &instance);
if (src == BOOTSOURCE_MMC)
- ret = imx8_esdhc_start_image(instance);
+ ret = imx8_esdhc_load_image(instance, true);
BUG_ON(ret);
}