diff options
author | Michal Simek <michal.simek@xilinx.com> | 2019-09-11 13:12:43 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2019-10-08 09:41:27 +0200 |
commit | a542a937350b486223f7ed72f8471967df53cf49 (patch) | |
tree | c07dac2b03244cbe97057544a00b7e469d99147f | |
parent | 90b9fcb9d4fb7e9205bdd6e73fb902533a6146db (diff) |
ARM: zynq: Use {} around variables for qspi and nand boot cmds
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>
-rw-r--r-- | include/configs/zynq-common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 09eada3902..4b12be30c8 100644 --- a/include/configs/zynq-common.h +++ b/include/configs/zynq-common.h @@ -160,7 +160,7 @@ #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) \ @@ -168,7 +168,7 @@ #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) \ |