summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@toradex.com>2020-10-29 16:18:18 +0200
committerDenys Drozdov <denys.drozdov@toradex.com>2021-01-08 19:42:09 +0200
commitff0b62fcd4b7b70de77790a97cf6411db9d5be7b (patch)
tree3a6b48f3b1c2a1f1213aedf4d8063d1fabc6c5b7
parent90fcaa3b066ee5ed1e9f887b28e59ab1b8048f3a (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" \