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

Message ID 5ae32ad6d6e63268fa3cb27d7386c97ae56994fd.1568188605.git.michal.simek@xilinx.com
State New
Delegated to: Michal Simek
Headers show
Series
  • arm64: versal: Extend distro boot
Related show

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(-)

Patch
diff mbox series

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)