aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrejs Cainikovs2023-03-03 14:26:36 +0100
committerStefano Babic2023-03-30 10:51:35 +0200
commitaa61f28b19448b1695de71f10db32775709a6d31 (patch)
tree0750e3b608329c6fa41d2fb51fa4ff612bd33875 /include
parent77532779d481b6f9795b1c6862600c53b87ae4f2 (diff)
colibri-imx8x: switch from fatload to load
Make sure M4 binary loading works equally well on ext4 as well as fat file systems. Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/colibri-imx8x.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/configs/colibri-imx8x.h b/include/configs/colibri-imx8x.h
index 94243117f1c..b4814bdfbfc 100644
--- a/include/configs/colibri-imx8x.h
+++ b/include/configs/colibri-imx8x.h
@@ -18,9 +18,8 @@
/* Boot M4 */
#define M4_BOOT_ENV \
"m4_0_image=m4_0.bin\0" \
- "loadm4image_0=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} " \
- "${m4_0_image}\0" \
- "m4boot_0=run loadm4image_0; dcache flush; bootaux ${loadaddr} 0\0" \
+ "loadm4image_0=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${m4_0_image}\0" \
+ "m4boot_0=run loadm4image_0; dcache flush; bootaux ${loadaddr} 0\0"
/* Enable Distro Boot */
#define BOOT_TARGET_DEVICES(func) \