From: Joel Stanley Date: Wed, 29 Jun 2022 07:05:22 +0000 (+0930) Subject: spl: Set SPL_MAX_SIZE default for AST2600 X-Git-Tag: baikal/mips/sdk5.8.2~5^2~292^2~5^2~4 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=f5e1804a5053327e7fdc3e12637256aad80e790e;p=uboot.git spl: Set SPL_MAX_SIZE default for AST2600 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 --- diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 3fd5644800..4851834f9b 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