Commit 2f210639c4f003b0d5310273979441f1bfc88eae

Authored by Marek Vasut
1 parent 5095ee088d

arm: socfpga: Use CMD_FS_GENERIC

Enable and use the CONFIG_CMD_FS_GENERIC to avoid hard-coding the
filesystem type into the environment.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Tom Rini <trini@ti.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Pavel Machek <pavel@denx.de>
Acked-by: Pavel Machek <pavel@denx.de>

Showing 1 changed file with 3 additions and 2 deletions Side-by-side Diff

include/configs/socfpga_cyclone5.h
... ... @@ -26,6 +26,7 @@
26 26 #define CONFIG_CMD_EXT4_WRITE
27 27 #define CONFIG_CMD_FAT
28 28 #define CONFIG_CMD_FPGA
  29 +#define CONFIG_CMD_FS_GENERIC
29 30 #define CONFIG_CMD_GREPENV
30 31 #define CONFIG_CMD_MII
31 32 #define CONFIG_CMD_MMC
... ... @@ -85,8 +86,8 @@
85 86 " root=${mmcroot} rw rootwait;" \
86 87 "bootz ${loadaddr} - ${fdt_addr}\0" \
87 88 "mmcload=mmc rescan;" \
88   - "fatload mmc 0:1 ${loadaddr} ${bootimage};" \
89   - "fatload mmc 0:1 ${fdt_addr} ${fdtimage}\0" \
  89 + "load mmc 0:1 ${loadaddr} ${bootimage};" \
  90 + "load mmc 0:1 ${fdt_addr} ${fdtimage}\0" \
90 91 "qspiroot=/dev/mtdblock0\0" \
91 92 "qspirootfstype=jffs2\0" \
92 93 "qspiboot=setenv bootargs " CONFIG_BOOTARGS \