summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2022-04-28 12:39:49 -0400
committerTom Rini <trini@konsulko.com>2022-05-05 09:28:47 -0400
commit3166e6fd45ed1aba9029839b482006a839daea2f (patch)
tree0261e7bca5d882c49a0df94f8754dd4e059bb0b2 /Kconfig
parentb789e4f215614e3aee2f78925683dc722ca617fc (diff)
ls10xxx: Use a sane SPL_SYS_MALLOC_F_LEN default
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: 545eceb520 ("imx8/ls10xx: Use a sane SYS_MALLOC_F_LEN default") Signed-off-by: Sean Anderson <sean.anderson@seco.com> Reviewed-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig4
1 files changed, 1 insertions, 3 deletions
diff --git a/Kconfig b/Kconfig
index 8bbb988790..797038b037 100644
--- a/Kconfig
+++ b/Kconfig
@@ -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,