diff mbox series

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

Message ID 20220629070525.575426-5-joel@jms.id.au
State Accepted
Commit a16175350c3f1706c9bbfd8458c60ea6429034fc
Delegated to: Tom Rini
Headers show
Series aspeed: Add AST2600 machine to CI | expand

Commit Message

Joel Stanley June 29, 2022, 7:05 a.m. UTC
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@jms.id.au>
---
New in v2

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

Patch

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