mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-26 07:17:10 +00:00
spl: increase SPL_SYS_MALLOC_SIZE when using BIOSEMU on RISC-V
If BIOSEMU is compiled for RISC-V (SiFive Unmatched board) and the function dm_pci_run_vga_bios() is executed, U-Boot stops with error message saying that the SPL malloc pool is too small. So increase the default pool size when both BIOSEMU and RISCV parameters are set. Signed-off-by: Yuri Zaporozhets <yuriz@qrv-systems.net> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
This commit is contained in:
parent
3881c6b903
commit
91bc909d31
1 changed files with 1 additions and 0 deletions
|
@ -462,6 +462,7 @@ config SPL_CUSTOM_SYS_MALLOC_ADDR
|
|||
config SPL_SYS_MALLOC_SIZE
|
||||
hex "Size of the SPL malloc pool"
|
||||
depends on SPL_SYS_MALLOC
|
||||
default 0x180000 if BIOSEMU && RISCV
|
||||
default 0x100000
|
||||
|
||||
config SPL_READ_ONLY
|
||||
|
|
Loading…
Add table
Reference in a new issue