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

Ooi, Joyce joyce.ooi at intel.com
Mon Mar 9 04:37:37 CET 2020


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

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" \
-- 
1.7.1



More information about the U-Boot mailing list