From 39bc1a8c8f5eb3238a3349bd4810fabac4118104 Mon Sep 17 00:00:00 2001 From: Jason Wu Date: Mon, 22 Feb 2016 22:07:49 +1000 Subject: [PATCH] zynq-common: Fix usbboot env variable Remove the miss-placed \0 and add missing ; for usbboot env variable. Signed-off-by: Jason Wu Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index d58c0a40b9..20c8163736 100644 --- a/include/configs/zynq-common.h +++ b/include/configs/zynq-common.h @@ -226,8 +226,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" -- 2.39.5