summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@toradex.com>2020-10-29 16:18:18 +0200
committerIgor Opaniuk <igor.opaniuk@toradex.com>2020-10-29 17:14:19 +0200
commit8eb4c688ab4eff4df3951164048d33325fb298ef (patch)
treeb8f12a819d01ab9950490b7970857dc55ce1beae
parent57550ac5ad863001350ca89b36ed88c2e9da5fe3 (diff)
apalis-imx8x: force to use load_cmd instead of hardcoded mmc
Use $load_cmd for hdpload command, which is set by distro_bootcmd. As "run $setup" is invoked only by our distroboot script, this save to do that. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
-rw-r--r--include/configs/apalis-imx8x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/apalis-imx8x.h b/include/configs/apalis-imx8x.h
index 6c2609b486..faba74c9e6 100644
--- a/include/configs/apalis-imx8x.h
+++ b/include/configs/apalis-imx8x.h
@@ -59,7 +59,7 @@
/* Boot M4 */
#define M4_BOOT_ENV \
"m4_0_image=m4_0.bin\0" \
- "loadm4image_0=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} " \
+ "loadm4image_0=${load_cmd} ${loadaddr} " \
"${m4_0_image}\0" \
"m4boot_0=run loadm4image_0; dcache flush; bootaux ${loadaddr} 0\0" \