summaryrefslogtreecommitdiff
path: root/configs/sandbox_spl_defconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-15 07:25:29 +0300
committerSimon Glass <sjg@chromium.org>2021-03-26 07:03:08 +0300
commitabaed70990bd8eb2c9992a16465f8a9daa4c5f61 (patch)
tree3093a8b4758fee9f95a4e1d41899fa25154dfecf /configs/sandbox_spl_defconfig
parentcc469b708667d24fc2a2c285e52d0d8ef5b14909 (diff)
downloadu-boot-abaed70990bd8eb2c9992a16465f8a9daa4c5f61.tar.xz
sandbox_spl: Increase SPL malloc() size
The test framework reinits driver model tests before running each test. Since malloc_simple does not support free(), this eventually runs out of memory. Fix it for now by increasing the space to 32KB. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'configs/sandbox_spl_defconfig')
-rw-r--r--configs/sandbox_spl_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/sandbox_spl_defconfig b/configs/sandbox_spl_defconfig
index 2696d0b6cd..4c020528fd 100644
--- a/configs/sandbox_spl_defconfig
+++ b/configs/sandbox_spl_defconfig
@@ -7,6 +7,7 @@ CONFIG_SYS_MEMTEST_END=0x00101000
CONFIG_ENV_SIZE=0x2000
CONFIG_SPL_SERIAL_SUPPORT=y
CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
+CONFIG_SPL_SYS_MALLOC_F_LEN=0x8000
CONFIG_SPL=y
CONFIG_BOOTSTAGE_STASH_ADDR=0x0
CONFIG_DEFAULT_DEVICE_TREE="sandbox"