diff mbox series

[U-Boot,4/4] arm64: versal: Change boot script offset address in versal

Message ID 5ae32ad6d6e63268fa3cb27d7386c97ae56994fd.1568188605.git.michal.simek@xilinx.com
State Accepted
Commit e76bc3cbc01537510c8aaffbd5d98f97f2609a4d
Delegated to: Michal Simek
Headers show
Series arm64: versal: Extend distro boot | expand

Commit Message

Michal Simek Sept. 11, 2019, 7:56 a.m. UTC
From: T Karthik Reddy <t.karthik.reddy@xilinx.com>

With the current boot script offset address in qspi is being overlaped
by BOOT.BIN as it is over 90MB with fpga included. So moving the script
offset address to end of flash after "bootenv" mtd partition. Here we
are considering qspi flash size >= 128Mbytes on versal and left
512Kbytes space to save boot.scr script.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 include/configs/xilinx_versal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/configs/xilinx_versal.h b/include/configs/xilinx_versal.h
index 67f5739555f3..f426127edcff 100644
--- a/include/configs/xilinx_versal.h
+++ b/include/configs/xilinx_versal.h
@@ -92,7 +92,7 @@ 
 	"kernel_size_r=0x10000000\0" \
 	"scriptaddr=0x20000000\0" \
 	"ramdisk_addr_r=0x02100000\0" \
-	"script_offset_f=0x3f80000\0" \
+	"script_offset_f=0x7F80000\0" \
 	"script_size_f=0x80000\0"
 
 #if defined(CONFIG_MMC_SDHCI_ZYNQ)