summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2014-09-23 13:18:20 +0200
committerStefano Babic <sbabic@denx.de>2014-09-29 11:37:16 +0200
commitfc532a921aae1151dd39322d8f50b55a735de8d5 (patch)
tree627a085a16dcea2b1eda8389938e7fc96fb830a0
parent14b256e5c084e1b693f4ad73c6a8beee7ffcb4af (diff)
downloadu-boot-imx-fc532a921aae1151dd39322d8f50b55a735de8d5.zip
u-boot-imx-fc532a921aae1151dd39322d8f50b55a735de8d5.tar.gz
u-boot-imx-fc532a921aae1151dd39322d8f50b55a735de8d5.tar.bz2
arm: m28evk: Enable FS_GENERIC
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>
-rw-r--r--include/configs/m28evk.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
index 2d9ad5f..322b45f 100644
--- a/include/configs/m28evk.h
+++ b/include/configs/m28evk.h
@@ -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
@@ -236,7 +237,7 @@
"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" \
@@ -280,7 +281,7 @@
"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};" \