]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: versal: Change boot script offset address in versal
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Mon, 5 Aug 2019 10:48:56 +0000 (16:18 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 8 Oct 2019 07:35:43 +0000 (09:35 +0200)
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

index 67f5739555f3995b7107acfc8695b10cb9c8b73c..f426127edcff4485a0340e57f90982a270d1ce40 100644 (file)
@@ -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)