summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Ghidoli <emanuele.ghidoli@toradex.com>2023-02-14 22:08:43 +0100
committerEmanuele Ghidoli <emanuele.ghidoli@toradex.com>2023-02-16 18:03:13 +0100
commit82ce1b3d263c31fa884fd181114de4700088ab5a (patch)
tree6b1baf0a5f769489e028722e5eb677e0dbea7892
parente30d2578df4bbc39d6fa904c13dceb99eb8bc47c (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. Upstream-Status: Submitted [https://lore.kernel.org/all/20230216113116.24812-1-francesco@dolcini.it/] Fixes: 2bc2f817cea7 ("board: toradex: add verdin imx8m plus support") Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
-rw-r--r--configs/verdin-imx8mp_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/verdin-imx8mp_defconfig b/configs/verdin-imx8mp_defconfig
index 6f3ab522f1..b4b8f509ad 100644
--- a/configs/verdin-imx8mp_defconfig
+++ b/configs/verdin-imx8mp_defconfig
@@ -44,6 +44,7 @@ CONFIG_SPL_BOARD_INIT=y
CONFIG_SPL_BOOTROM_SUPPORT=y
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
CONFIG_SPL_SEPARATE_BSS=y
+CONFIG_SPL_SYS_MALLOC_F_LEN=0x4000
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
CONFIG_SPL_I2C=y