summaryrefslogtreecommitdiff
path: root/include/configs/zynq-common.h
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2019-09-11 13:16:33 +0200
committerMichal Simek <michal.simek@xilinx.com>2019-10-08 09:41:27 +0200
commit90b9fcb9d4fb7e9205bdd6e73fb902533a6146db (patch)
tree6e2cbaa7c7691564eed47930651224da4a14dcdd /include/configs/zynq-common.h
parent559e5a68f40c68988a5fadbd1f930c3230376cf9 (diff)
ARM: zynq: Fix NOR boot mode
There are two typos in this command that's why it couldn't work properly. This bootmode is almost unused from the beggining on this SoC. Fixes: 90e97ab31e02 ("arm: zynq: Define distro boot commnads for qspi, nand and nor") Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/configs/zynq-common.h')
-rw-r--r--include/configs/zynq-common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index de6c06ba3c..09eada3902 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -175,7 +175,8 @@
"nand "
#define BOOTENV_DEV_NOR(devtypeu, devtypel, instance) \
- "bootcmd_nor=cp.b $scropt_offset_nor $scriptaddr $script_size_f && " \
+ "script_offset_nor=0xE2FC0000\0" \
+ "bootcmd_nor=cp.b ${script_offset_nor} ${scriptaddr} ${script_size_f} && " \
"source ${scriptaddr}; echo SCRIPT FAILED: continuing...;\0"
#define BOOTENV_DEV_NAME_NOR(devtypeu, devtypel, instance) \
@@ -205,7 +206,6 @@
"fdt_high=0x20000000\0" \
"initrd_high=0x20000000\0" \
"scriptaddr=0x20000\0" \
- "script_offser_nor=0xE2FC0000\0" \
"script_offset_f=0xFC0000\0" \
"script_size_f=0x40000\0" \
"loadbootenv_addr=0x2000000\0" \