public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] zynq-common: Fix usbboot env variable
@ 2016-02-22 12:07 Jason Wu
  2016-02-22 12:55 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Wu @ 2016-02-22 12:07 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Jason Wu <jason.wu.misc@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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-22 12:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-22 12:07 [U-Boot] [PATCH] zynq-common: Fix usbboot env variable Jason Wu
2016-02-22 12:55 ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox