diff options
author | Peng Fan <peng.fan@nxp.com> | 2022-07-26 16:40:31 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-07-26 11:28:59 +0200 |
commit | 658ff9d035f558676dfcad091fbb985f4d15bad6 (patch) | |
tree | e01c0f643e2b50edb0aae2bff3e04944d52856ff /common | |
parent | bb19f85168957a658a7d0aa19bda95158aeb3520 (diff) | |
download | u-boot-658ff9d035f558676dfcad091fbb985f4d15bad6.zip u-boot-658ff9d035f558676dfcad091fbb985f4d15bad6.tar.gz u-boot-658ff9d035f558676dfcad091fbb985f4d15bad6.tar.bz2 |
spl: imx8mm: enlarge SPL_MAX_SIZE
The CONFIG_SPL_MAX_SIZE could be 0x27000 for i.MX8MM when SPL_TEXT_BASE
set to 0x7E1000.
The DDR firmware max uses 96KB, there is a 4KB padding header before
SPL_TEXT_BASE, so the SPL MAX SIZE is `256KB - 96KB - 4KB`.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/spl/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index b8c21f5..1358b45 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -83,6 +83,7 @@ config SPL_MAX_SIZE default 0x7000 if RCAR_GEN3 default 0x5fa0 if SUNXI_SRAM_ADDRESS = 0x0 default 0x10000 if ASPEED_AST2600 + default 0x27000 if IMX8MM && SPL_TEXT_BASE = 0x7E1000 default 0x0 help Maximum size of the SPL image (text, data, rodata, and linker lists |