diff mbox series

[v1,11/17] colibri-imx8x: switch from fatload to load

Message ID 20230303132642.15574-12-andrejs.cainikovs@toradex.com
State Accepted
Commit aa61f28b19448b1695de71f10db32775709a6d31
Delegated to: Stefano Babic
Headers show
Series colibri-imx8x: support refresh | expand

Commit Message

Andrejs Cainikovs March 3, 2023, 1:26 p.m. UTC
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>
---
 include/configs/colibri-imx8x.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Comments

Stefano Babic March 30, 2023, 11:42 a.m. UTC | #1
> 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>
Applied to u-boot-imx, next, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

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) \