summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@toradex.com>2020-10-29 16:21:42 +0200
committerIgor Opaniuk <igor.opaniuk@toradex.com>2020-10-29 17:14:19 +0200
commit6aad04e661eaccb5f559d44e97d431288c0c8171 (patch)
tree20c3adbc7d935f3a9b6c7efbcdd929eb2372d3ee
parent8eb4c688ab4eff4df3951164048d33325fb298ef (diff)
colibri-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/colibri-imx8x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/colibri-imx8x.h b/include/configs/colibri-imx8x.h
index 673f82f0e1..e8acdd1de4 100644
--- a/include/configs/colibri-imx8x.h
+++ b/include/configs/colibri-imx8x.h
@@ -57,7 +57,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" \