pico-imx7d: Replace fatload command
PATCH 1/1 pico-imx7d: Replace fatload command
Replace fatload with the fs generic loading interface ('load' command).
Signed-off-by Vanessa Maegima <[email protected]>
--- configs/pico-imx7d_defconfig | 1 + include/configs/pico-imx7d.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-)
configs/pico-imx7d_defconfig +1 -0
@@ -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
include/configs/pico-imx7d.h +2 -2
@@ -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; " \
Signature · 1 line
2.7.4
Fabio Estevam
reviewerPATCH 1/1 pico-imx7d: Replace fatload command
Quoted 3 lines · Vanessa Maegima
Replace fatload with the fs generic loading interface ('load' command).
Signed-off-by Vanessa Maegima <[email protected]>
Reviewed-by Fabio Estevam <[email protected]>
PATCH 1/1 pico-imx7d: Replace fatload command
In reply to Vanessa MaegimaQuoted 26 lines · Vanessa Maegima
Replace fatload with the fs generic loading interface ('load' command).
Signed-off-by Vanessa Maegima <[email protected]>--- configs/pico-imx7d_defconfig | 1 + include/configs/pico-imx7d.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-)configs/pico-imx7d_defconfig +1
-0@@ -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=yinclude/configs/pico-imx7d.h +0
-0
include/configs/pico-imx7d.h line 57
Quoted 10 lines
include/configs/pico-imx7d.h +2
-2@@ -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; " \
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================