[U-Boot] [PATCH] 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
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"

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" \
DFU_ALT_INFO"bootm ${load_addr}; fi\0" \
#define CONFIG_BOOTCOMMAND "run $modeboot"
Applied.
Thanks, Michal
participants (2)
-
Jason Wu
-
Michal Simek