From: Joyce Ooi <[email protected]>

This patch increases the allocated kernel Image size to 32MB for QSPI
for Stratix10 and Agilex as the latest kernel size has increased.

Signed-off-by: Joyce Ooi <[email protected]>
Signed-off-by: Jit Loon Lim <[email protected]>
---
 configs/socfpga_agilex_qspi_defconfig    | 2 +-
 configs/socfpga_stratix10_qspi_defconfig | 2 +-
 include/configs/socfpga_soc64_common.h   | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/configs/socfpga_agilex_qspi_defconfig 
b/configs/socfpga_agilex_qspi_defconfig
index f9d38f6887..8522e72cbc 100644
--- a/configs/socfpga_agilex_qspi_defconfig
+++ b/configs/socfpga_agilex_qspi_defconfig
@@ -6,7 +6,7 @@ CONFIG_SYS_TEXT_BASE=0x1000
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_ENV_SIZE=0x1000
-CONFIG_ENV_OFFSET=0x02080000
+CONFIG_ENV_OFFSET=0x020C0000
 CONFIG_ENV_SECT_SIZE=0x10000
 CONFIG_SYS_SPI_U_BOOT_OFFS=0x02000000
 CONFIG_DM_GPIO=y
diff --git a/configs/socfpga_stratix10_qspi_defconfig 
b/configs/socfpga_stratix10_qspi_defconfig
index 161063f51d..6d41356fe0 100644
--- a/configs/socfpga_stratix10_qspi_defconfig
+++ b/configs/socfpga_stratix10_qspi_defconfig
@@ -6,7 +6,7 @@ CONFIG_SYS_TEXT_BASE=0x1000
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_ENV_SIZE=0x1000
-CONFIG_ENV_OFFSET=0x02080000
+CONFIG_ENV_OFFSET=0x020C0000
 CONFIG_ENV_SECT_SIZE=0x10000
 CONFIG_SYS_SPI_U_BOOT_OFFS=0x02000000
 CONFIG_DM_GPIO=y
diff --git a/include/configs/socfpga_soc64_common.h 
b/include/configs/socfpga_soc64_common.h
index c966d31362..d83686209c 100644
--- a/include/configs/socfpga_soc64_common.h
+++ b/include/configs/socfpga_soc64_common.h
@@ -37,9 +37,9 @@
  * Environment variable
  */
 #define CONFIG_EXTRA_ENV_SETTINGS \
-       "qspibootimageaddr=0x020B0000\0" \
-       "qspifdtaddr=0x02090000\0" \
-       "bootimagesize=0x01400000\0" \
+       "qspibootimageaddr=0x020E0000\0" \
+       "qspifdtaddr=0x020D0000\0" \
+       "bootimagesize=0x01F00000\0" \
        "fdtimagesize=0x00010000\0" \
        "qspiload=sf read ${loadaddr} ${qspibootimageaddr} ${bootimagesize};" \
                "sf read ${fdt_addr} ${qspifdtaddr} ${fdtimagesize}\0" \
-- 
2.26.2

Reply via email to