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

* [U-Boot] [PATCH] zynq-common: Fix usbboot env variable
  2016-02-22 12:07 [U-Boot] [PATCH] zynq-common: Fix usbboot env variable Jason Wu
@ 2016-02-22 12:55 ` Michal Simek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2016-02-22 12:55 UTC (permalink / raw)
  To: u-boot

On 22.2.2016 13:07, Jason Wu wrote:
> 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"
> 

Applied.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160222/9895805e/attachment.sig>

^ permalink raw reply	[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