]> git.ipfire.org Git - thirdparty/u-boot.git/commit
configs: raise SPL_SYS_MALLOC_SIZE to 8 MiB on RISC-V
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 25 May 2025 10:42:48 +0000 (12:42 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Mon, 9 Jun 2025 02:43:57 +0000 (10:43 +0800)
commit8b410cab51266a0f6ee9c20e7f2bac9cfec079e8
treed1d48188af6735eb8829829246528f50783ab824
parente96b6c0c18c29fba63a1ceb21dc29afb9d9b2910
configs: raise SPL_SYS_MALLOC_SIZE to 8 MiB on RISC-V

On several RISC-V boards we have seen that 1 MiB is a insufficient value
for CONFIG_SPL_SYS_MALLOC_SIZE.

For instance qemu-riscv32_spl_defconfig fails booting because u-boot.itb
exceeds 1 MiB.

8 MiB is a reasonable value that allows adding FPGA blobs or splash images
to main U-boot.

Reported-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
common/spl/Kconfig
configs/starfive_visionfive2_defconfig
configs/th1520_lpi4a_defconfig
configs/xilinx_mbv32_defconfig
configs/xilinx_mbv32_smode_defconfig
configs/xilinx_mbv64_defconfig
configs/xilinx_mbv64_smode_defconfig