[U-Boot] [PATCH] zynq-common: Fix usbboot env variable

Jason Wu jason.wu.misc at gmail.com
Mon Feb 22 13:07:49 CET 2016


Remove the miss-placed \0 and add missing ; for usbboot env variable.

Signed-off-by: Jason Wu <jason.wu.misc at gmail.com>

diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index e8c3ef0..98c8313 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -227,8 +227,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"
-- 
1.9.1



More information about the U-Boot mailing list