]> git.baikalelectronics.ru Git - uboot.git/commitdiff
colibri-imx8x: switch from fatload to load
authorAndrejs Cainikovs <andrejs.cainikovs@gmail.com>
Fri, 3 Mar 2023 13:26:36 +0000 (14:26 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 30 Mar 2023 08:51:35 +0000 (10:51 +0200)
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

index 94243117f1cc5e80ec3221feba579cb98492b3d8..b4814bdfbfcf034d24ad9637436074b43fa14409 100644 (file)
@@ -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) \