From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Wu Date: Mon, 22 Feb 2016 22:07:49 +1000 Subject: [U-Boot] [PATCH] zynq-common: Fix usbboot env variable Message-ID: <1456142869-6000-1-git-send-email-jason.wu.misc@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Remove the miss-placed \0 and add missing ; for usbboot env variable. Signed-off-by: Jason Wu 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