Skip to content

Commit

Permalink
ls10xxx: Use a sane SPL_SYS_MALLOC_F_LEN default
Browse files Browse the repository at this point in the history
SPL_SYS_MALLOC_F_LEN defaults to SYS_MALLOC_F_LEN. 0x10000 is 64 KiB, or
around half of the total OCRAM size. Revert to the default of 0x2000. This
fixes SPL boot.

Fixes: 545eceb ("imx8/ls10xx: Use a sane SYS_MALLOC_F_LEN default")
Signed-off-by: Sean Anderson <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
  • Loading branch information
sean-anderson-seco authored and trini committed May 5, 2022
1 parent b789e4f commit 3166e6f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,7 @@ config SYS_MALLOC_F_LEN
default 0x4000 if SANDBOX || RISCV || ARCH_APPLE || ROCKCHIP_RK3368 || \
ROCKCHIP_RK3399
default 0x8000 if RCAR_GEN3
default 0x10000 if ARCH_IMX8 || (ARCH_IMX8M && !IMX8MQ) || \
ARCH_LS1012A || ARCH_LS1021A || ARCH_LS1043A || \
ARCH_LS1046A
default 0x10000 if ARCH_IMX8 || (ARCH_IMX8M && !IMX8MQ)
default 0x2000
help
Before relocation, memory is very limited on many platforms. Still,
Expand Down

0 comments on commit 3166e6f

Please sign in to comment.