ARM: zynq: Use {} around variables for qspi and nand boot cmds
authorMichal Simek <michal.simek@xilinx.com>
Wed, 11 Sep 2019 11:12:43 +0000 (13:12 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 8 Oct 2019 07:41:27 +0000 (09:41 +0200)
Follow conventions and used {} around variables.

Fixes: 90e97ab31e02 ("arm: zynq: Define distro boot commnads for qspi, nand and nor")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/zynq-common.h

index 09eada39023c7d1e0d520a04c0080dc88e4fa4f7..4b12be30c8aafd86f355f28070ffcd20123f987b 100644 (file)
 
 #define BOOTENV_DEV_QSPI(devtypeu, devtypel, instance) \
        "bootcmd_qspi=sf probe 0 0 0 && " \
-                     "sf read $scriptaddr $script_offset_f $script_size_f && " \
+                     "sf read ${scriptaddr} ${script_offset_f} ${script_size_f} && " \
                      "source ${scriptaddr}; echo SCRIPT FAILED: continuing...;\0"
 
 #define BOOTENV_DEV_NAME_QSPI(devtypeu, devtypel, instance) \
 
 #define BOOTENV_DEV_NAND(devtypeu, devtypel, instance) \
        "bootcmd_nand=nand info && " \
-                     "nand read $scriptaddr $script_offset_f $script_size_f && " \
+                     "nand read ${scriptaddr} ${script_offset_f} ${script_size_f} && " \
                      "source ${scriptaddr}; echo SCRIPT FAILED: continuing...;\0"
 
 #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \