zynq-common: Fix usbboot env variable
authorJason Wu <jason.wu.misc@gmail.com>
Mon, 22 Feb 2016 12:07:49 +0000 (22:07 +1000)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 22 Feb 2016 15:21:08 +0000 (16:21 +0100)
Remove the miss-placed \0 and add missing ; for usbboot env variable.

Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/zynq-common.h

index d58c0a40b94a08a215644465c1e8415fdb320320..20c8163736c2bf4aa29f61ebb673c195448ade3c 100644 (file)
        "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"