]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
imx: kontron-sl-mx8mm: Increase CONFIG_SPL_MAX_SIZE
authorFrieder Schrempf <frieder.schrempf@kontron.de>
Tue, 7 Oct 2025 08:15:58 +0000 (10:15 +0200)
committerFabio Estevam <festevam@gmail.com>
Tue, 7 Oct 2025 11:58:28 +0000 (08:58 -0300)
The limit of 0x27000 (156 KiB) was valid at times the DDR firmware
required a fixed amount of 96 KiB of space. Now that we use binman
to include the DDR firmware it only needs around 57 KiB of space and
there is more room for the SPL.

Increase the max SPL size to 196 KiB so there is still 60 KiB for DDR
firmware. This allows us to enable USB and SDP support in SPL.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
configs/kontron-sl-mx8mm_defconfig

index 4f08f2c572caeb6edbb9c26dbfc9f8d9e327ddb0..92583317a073c3f52f2dc03e890a280c2e525332 100644 (file)
@@ -43,6 +43,7 @@ CONFIG_SYS_PBSIZE=276
 CONFIG_BOARD_TYPES=y
 # CONFIG_BOARD_INIT is not set
 CONFIG_BOARD_LATE_INIT=y
+CONFIG_SPL_MAX_SIZE=0x31000
 CONFIG_SPL_BOARD_INIT=y
 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
 CONFIG_SPL_HAVE_INIT_STACK=y