summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorJason Wu <jason.wu.misc@gmail.com>2016-02-22 22:07:49 +1000
committerMichal Simek <michal.simek@xilinx.com>2016-02-22 16:21:08 +0100
commit39bc1a8c8f5eb3238a3349bd4810fabac4118104 (patch)
treed296201cad76d0f9091cd3e9f3faf68c3b22167a /include/configs
parent70bdf2f6b9aefdc2ec96f20c12cb1a8bfc2ecbdf (diff)
downloadu-boot-imx-39bc1a8c8f5eb3238a3349bd4810fabac4118104.zip
u-boot-imx-39bc1a8c8f5eb3238a3349bd4810fabac4118104.tar.gz
u-boot-imx-39bc1a8c8f5eb3238a3349bd4810fabac4118104.tar.bz2
zynq-common: Fix usbboot env variable
Remove the miss-placed \0 and add missing ; for usbboot env variable. Signed-off-by: Jason Wu <jason.wu.misc@gmail.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/zynq-common.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index d58c0a4..20c8163 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -226,8 +226,7 @@
"usbboot=if usb start; then " \
"echo Copying FIT from USB to RAM... && " \
"load usb 0 ${load_addr} ${fit_image} && " \
- "bootm ${load_addr}\0" \
- "fi\0" \
+ "bootm ${load_addr}; fi\0" \
DFU_ALT_INFO
#define CONFIG_BOOTCOMMAND "run $modeboot"