arm: m28evk: Enable FS_GENERIC
authorMarek Vasut <marex@denx.de>
Tue, 23 Sep 2014 11:18:20 +0000 (13:18 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 29 Sep 2014 09:37:16 +0000 (11:37 +0200)
Enable the CONFIG_CMD_FS_GENERIC on m28evk to avoid per-fs specific commands
and tweak the environment to cater for this new option.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
include/configs/m28evk.h

index 2d9ad5f23c9c62a41db42d26f063490a7cb3e3d4..322b45fd990709c256e5b7cda4a26bbb2b786470 100644 (file)
@@ -32,6 +32,7 @@
 #define CONFIG_CMD_EXT4
 #define CONFIG_CMD_EXT4_WRITE
 #define CONFIG_CMD_FAT
+#define CONFIG_CMD_FS_GENERIC
 #define CONFIG_CMD_GPIO
 #define CONFIG_CMD_GREPENV
 #define CONFIG_CMD_I2C
        "addargs=run addcons addmtd addmisc\0"                          \
        "mmcload="                                                      \
                "mmc rescan ; "                                         \
-               "ext4load mmc 0:2 ${kernel_addr_r} ${bootfile}\0"       \
+               "load mmc 0:2 ${kernel_addr_r} ${bootfile}\0"           \
        "ubiload="                                                      \
                "ubi part UBI ; ubifsmount ubi0:rootfs ; "              \
                "ubifsload ${kernel_addr_r} /boot/${bootfile}\0"        \
        "try_bootscript="                                               \
                "mmc rescan;"                                           \
                "if test -e mmc 0:2 ${bootscript} ; then "              \
-               "if ext4load mmc 0:2 ${kernel_addr_r} ${bootscript};"   \
+               "if load mmc 0:2 ${kernel_addr_r} ${bootscript};"       \
                "then;"                                                 \
                        "\techo Running bootscript...;"                 \
                        "\tsource ${kernel_addr_r};"                    \