diff mbox series

[U-Boot] pico-imx7d: Replace fatload command

Message ID 1523044481-9547-1-git-send-email-vanessa.maegima@nxp.com
State Accepted
Commit ebca6013c086356419a462dc1adbef858a5ada67
Delegated to: Stefano Babic
Headers show
Series [U-Boot] pico-imx7d: Replace fatload command | expand

Commit Message

Vanessa Maegima April 6, 2018, 7:54 p.m. UTC
Replace fatload with the fs generic loading interface ('load' command).

Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
---
 configs/pico-imx7d_defconfig | 1 +
 include/configs/pico-imx7d.h | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

Comments

Fabio Estevam April 6, 2018, 8:56 p.m. UTC | #1
On Fri, Apr 6, 2018 at 4:54 PM, Vanessa Maegima <vanessa.maegima@nxp.com> wrote:
> 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>
Stefano Babic April 15, 2018, 10:21 a.m. UTC | #2
On 06/04/2018 21:54, Vanessa Maegima wrote:
> Replace fatload with the fs generic loading interface ('load' command).
> 
> Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
> ---
>  configs/pico-imx7d_defconfig | 1 +
>  include/configs/pico-imx7d.h | 4 ++--
>  2 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/configs/pico-imx7d_defconfig b/configs/pico-imx7d_defconfig
> index edfe725..b85486d 100644
> --- a/configs/pico-imx7d_defconfig
> +++ b/configs/pico-imx7d_defconfig
> @@ -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
> diff --git a/include/configs/pico-imx7d.h b/include/configs/pico-imx7d.h
> index ee48363..a81548c 100644
> --- a/include/configs/pico-imx7d.h
> +++ b/include/configs/pico-imx7d.h
> @@ -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
diff mbox series

Patch

diff --git a/configs/pico-imx7d_defconfig b/configs/pico-imx7d_defconfig
index edfe725..b85486d 100644
--- a/configs/pico-imx7d_defconfig
+++ b/configs/pico-imx7d_defconfig
@@ -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
diff --git a/include/configs/pico-imx7d.h b/include/configs/pico-imx7d.h
index ee48363..a81548c 100644
--- a/include/configs/pico-imx7d.h
+++ b/include/configs/pico-imx7d.h
@@ -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; " \