summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-09-24 14:55:03 +0200
committerMichal Simek <michal.simek@xilinx.com>2015-01-26 08:55:58 +0100
commite9d69c1c717649cf6ee909139ccf9c04e82a7075 (patch)
treeb8b1ca728fdea78ca9a6140cac151cfb3b6b2978
parent5a82d53c7878b7ee5f6b191e6e7b63c4bfa60b19 (diff)
downloadu-boot-imx-e9d69c1c717649cf6ee909139ccf9c04e82a7075.zip
u-boot-imx-e9d69c1c717649cf6ee909139ccf9c04e82a7075.tar.gz
u-boot-imx-e9d69c1c717649cf6ee909139ccf9c04e82a7075.tar.bz2
ARM: zynq: Use CMD_FS_GENERIC
Based on: "am335x_evm: Enable CMD_EXT4 and CMD_FS_GENERIC, add bootpart to env" (sha1: 73a27a84e58cb99b4e64ed6a35eab5bc61f44f29) Fix filesystem specific commands for loading. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--include/configs/zynq-common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index 3a62ec7..f968e76 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -100,6 +100,7 @@
# define CONFIG_DOS_PARTITION
# define CONFIG_CMD_EXT4
# define CONFIG_CMD_EXT4_WRITE
+# define CONFIG_CMD_FS_GENERIC
#endif
#define CONFIG_SYS_I2C_ZYNQ
@@ -159,14 +160,14 @@
"cp.b ${nor_flash_off} ${load_addr} ${fit_size} && " \
"bootm ${load_addr}\0" \
"sdboot=echo Copying FIT from SD to RAM... && " \
- "fatload mmc 0 ${load_addr} ${fit_image} && " \
+ "load mmc 0 ${load_addr} ${fit_image} && " \
"bootm ${load_addr}\0" \
"jtagboot=echo TFTPing FIT to RAM... && " \
"tftpboot ${load_addr} ${fit_image} && " \
"bootm ${load_addr}\0" \
"usbboot=if usb start; then " \
"echo Copying FIT from USB to RAM... && " \
- "fatload usb 0 ${load_addr} ${fit_image} && " \
+ "load usb 0 ${load_addr} ${fit_image} && " \
"bootm ${load_addr}\0" \
"fi\0"