diff mbox series

arm: socfpga: increase QSPI kernel Image size for Stratix10 and Agilex

Message ID 20200309033737.17232-1-joyce.ooi@intel.com
State New
Delegated to: Simon Goldschmidt
Headers show
Series arm: socfpga: increase QSPI kernel Image size for Stratix10 and Agilex | expand

Commit Message

Ooi, Joyce March 9, 2020, 3:37 a.m. UTC
From: Joyce Ooi <joyce.ooi@intel.com>

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 <joyce.ooi@intel.com>
---
 include/configs/socfpga_agilex_socdk.h    |    8 ++++----
 include/configs/socfpga_stratix10_socdk.h |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

Comments

Tan, Ley Foon March 24, 2020, 2:39 a.m. UTC | #1
> -----Original Message-----
> From: Ooi, Joyce <joyce.ooi@intel.com>
> Sent: Monday, March 9, 2020 11:38 AM
> To: Tan, Ley Foon <ley.foon.tan@intel.com>; Ang, Chee Hong
> <chee.hong.ang@intel.com>; See, Chin Liang <chin.liang.see@intel.com>;
> Nguyen, Dinh <dinh.nguyen@intel.com>
> Cc: u-boot@lists.denx.de; Ooi, Joyce <joyce.ooi@intel.com>
> Subject: [PATCH] arm: socfpga: increase QSPI kernel Image size for Stratix10
> and Agilex
> 
> From: Joyce Ooi <joyce.ooi@intel.com>
> 
> 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 <joyce.ooi@intel.com>

Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>
diff mbox series

Patch

diff --git a/include/configs/socfpga_agilex_socdk.h b/include/configs/socfpga_agilex_socdk.h
index 6a90ce6..4bb2e8f 100644
--- a/include/configs/socfpga_agilex_socdk.h
+++ b/include/configs/socfpga_agilex_socdk.h
@@ -78,7 +78,7 @@ 
 #ifdef CONFIG_ENV_IS_IN_SPI_FLASH
 #undef CONFIG_ENV_OFFSET
 #undef CONFIG_ENV_SIZE
-#define CONFIG_ENV_OFFSET		0x02080000
+#define CONFIG_ENV_OFFSET		0x020C0000
 #define CONFIG_ENV_SIZE			(64 * 1024)
 #define CONFIG_ENV_SECT_SIZE		(64 * 1024)
 #endif /* CONFIG_ENV_IS_IN_SPI_FLASH */
@@ -120,9 +120,9 @@  unsigned int cm_get_qspi_controller_clk_hz(void);
 #define CONFIG_BOOTARGS "earlycon"
 
 #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" \
diff --git a/include/configs/socfpga_stratix10_socdk.h b/include/configs/socfpga_stratix10_socdk.h
index 28fb546..1c41fc4 100644
--- a/include/configs/socfpga_stratix10_socdk.h
+++ b/include/configs/socfpga_stratix10_socdk.h
@@ -78,7 +78,7 @@ 
 #ifdef CONFIG_ENV_IS_IN_SPI_FLASH
 #undef CONFIG_ENV_OFFSET
 #undef CONFIG_ENV_SIZE
-#define CONFIG_ENV_OFFSET		0x02080000
+#define CONFIG_ENV_OFFSET		0x020C0000
 #define CONFIG_ENV_SIZE			(64 * 1024)
 #define CONFIG_ENV_SECT_SIZE		(64 * 1024)
 #endif /* CONFIG_ENV_IS_IN_SPI_FLASH */
@@ -116,9 +116,9 @@  unsigned int cm_get_qspi_controller_clk_hz(void);
 #endif
 
 #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" \