]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spl: Set SPL_MAX_SIZE default for AST2600
authorJoel Stanley <joel@jms.id.au>
Wed, 29 Jun 2022 07:05:22 +0000 (16:35 +0930)
committerTom Rini <trini@konsulko.com>
Wed, 6 Jul 2022 18:32:00 +0000 (14:32 -0400)
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>
common/spl/Kconfig

index 3fd564480061dad50112cb386b9d69addb1eb16a..4851834f9b61b28f5b94d442877e0ce363aaec02 100644 (file)
@@ -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