diff options
| author | Emanuele Ghidoli <[email protected]> | 2023-02-16 12:31:15 +0100 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2023-03-30 13:48:56 +0200 |
| commit | 13578c1ced399d0f02695fa286b00202a958dacf (patch) | |
| tree | 91d24b367a118dd2f3980f311a80328c654ae634 | |
| parent | 2f3cf91693796a7be6de18a2f99f46c03ef2a9c6 (diff) | |
configs: verdin-imx8mp: Fix wrong early malloc() heap size
Set, previously unset, CONFIG_SPL_SYS_MALLOC_F_LEN to 0x4000 whose
default value is 0x10000.
Early malloc() uses CRAM_S at 0x184000 (CFG_MALLOC_F_ADDR), this ram
area end at 0x188000.
Fixes: 2bc2f817cea7 ("board: toradex: add verdin imx8m plus support")
Signed-off-by: Emanuele Ghidoli <[email protected]>
Signed-off-by: Francesco Dolcini <[email protected]>
Acked-by: Marcel Ziswiler <[email protected]>
| -rw-r--r-- | configs/verdin-imx8mp_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/verdin-imx8mp_defconfig b/configs/verdin-imx8mp_defconfig index 359e51ab1bc..4efe6f9c217 100644 --- a/configs/verdin-imx8mp_defconfig +++ b/configs/verdin-imx8mp_defconfig @@ -50,6 +50,7 @@ CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set +CONFIG_SPL_SYS_MALLOC_F_LEN=0x4000 CONFIG_SYS_SPL_MALLOC=y CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 |
