[PATCH v2 4/7] spl: Set SPL_MAX_SIZE default for AST2600

Joel Stanley joel at jms.id.au
Wed Jun 29 09:05:22 CEST 2022


The AST2600 bootrom has a max size of 64KB. This can be overridden if the
system is running the SPL from SPI NOR and not using secure boot.

Signed-off-by: Joel Stanley <joel at jms.id.au>
---
New in v2

 common/spl/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 2ad2351c6eb3..e37aece46eb7 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -82,6 +82,7 @@ config SPL_MAX_SIZE
 	default 0x7fa0 if SUNXI_SRAM_ADDRESS = 0x20000 && !MACH_SUN50I_H616
 	default 0x7000 if RCAR_GEN3
 	default 0x5fa0 if SUNXI_SRAM_ADDRESS = 0x0
+	default 0x10000 if ASPEED_AST2600
 	default 0x0
 	help
 	  Maximum size of the SPL image (text, data, rodata, and linker lists
-- 
2.35.1



More information about the U-Boot mailing list