]> git.sur5r.net Git - u-boot/commitdiff
pico-imx7d: Replace fatload command
authorVanessa Maegima <vanessa.maegima@nxp.com>
Fri, 6 Apr 2018 19:54:41 +0000 (16:54 -0300)
committerStefano Babic <sbabic@denx.de>
Sun, 15 Apr 2018 09:49:29 +0000 (11:49 +0200)
Replace fatload with the fs generic loading interface ('load' command).

Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
configs/pico-imx7d_defconfig
include/configs/pico-imx7d.h

index edfe7257bddc0ef2cd791f99170e17e35d269cf9..b85486db4ea89d86399e6548f428ff4eb19640f9 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_CMD_EXT2=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_FS_GENERIC=y
 CONFIG_PHYLIB=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
index ee4836359068f108519a7933010484bcd6944f83..a81548cb001cfadc83326ad29790903b7079efbc 100644 (file)
@@ -50,8 +50,8 @@
        "finduuid=part uuid mmc 0:2 uuid\0" \
        "mmcargs=setenv bootargs console=${console},${baudrate} " \
                "root=PARTUUID=${uuid} rootwait rw\0" \
-       "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
-       "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \
+       "loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
+       "loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \
        "mmcboot=echo Booting from mmc ...; " \
                "run finduuid; " \
                "run mmcargs; " \