On 09/21/2014 03:12 PM, Marek Vasut wrote:
> Enable and use the CONFIG_CMD_FS_GENERIC to avoid hard-coding the
> filesystem type into the environment.
> 
> Signed-off-by: Marek Vasut <[email protected]>
> Cc: Chin Liang See <[email protected]>
> Cc: Dinh Nguyen <[email protected]>
> Cc: Albert Aribaud <[email protected]>
> Cc: Tom Rini <[email protected]>
> Cc: Wolfgang Denk <[email protected]>
> Cc: Pavel Machek <[email protected]>
> ---
>  include/configs/socfpga_cyclone5.h | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/socfpga_cyclone5.h 
> b/include/configs/socfpga_cyclone5.h
> index 0974d6f..f325038 100644
> --- a/include/configs/socfpga_cyclone5.h
> +++ b/include/configs/socfpga_cyclone5.h
> @@ -26,6 +26,7 @@
>  #define CONFIG_CMD_EXT4_WRITE
>  #define CONFIG_CMD_FAT
>  #define CONFIG_CMD_FPGA
> +#define CONFIG_CMD_FS_GENERIC
>  #define CONFIG_CMD_GREPENV
>  #define CONFIG_CMD_MII
>  #define CONFIG_CMD_MMC
> @@ -86,8 +87,8 @@
>               " root=${mmcroot} rw rootwait;" \
>               "bootz ${loadaddr} - ${fdt_addr}\0" \
>       "mmcload=mmc rescan;" \
> -             "fatload mmc 0:1 ${loadaddr} ${bootimage};" \
> -             "fatload mmc 0:1 ${fdt_addr} ${fdtimage}\0" \
> +             "load mmc 0:1 ${loadaddr} ${bootimage};" \
> +             "load mmc 0:1 ${fdt_addr} ${fdtimage}\0" \
>       "qspiroot=/dev/mtdblock0\0" \
>       "qspirootfstype=jffs2\0" \
>       "qspiboot=setenv bootargs " CONFIG_BOOTARGS \
> 

Acked-by: Michal Simek <[email protected]>

Thanks,
Michal
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to