summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-02-08 11:46:01 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-02-16 10:33:04 +0100
commitc359f24e14d92175e60767bc34a761e6d634df80 (patch)
tree193719139b55d5dcbd0cd47c26ca1a69f7b20446
parent81799abc528dfbf941402c4ca5cf5d8533acdb50 (diff)
downloadbarebox-c359f24e14d92175e60767bc34a761e6d634df80.tar.gz
barebox-c359f24e14d92175e60767bc34a761e6d634df80.tar.xz
sandbox: increase MALLOC_SIZE from 4M to 16M
4M of malloc space is quite limited when comparing this to the systems that run Linux and use barebox for bootstrap. Increase the malloc size in sandbox to be better able to test code that does bigger allocations. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/sandbox/configs/sandbox_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sandbox/configs/sandbox_defconfig b/arch/sandbox/configs/sandbox_defconfig
index ca24d81aca..dcd0557326 100644
--- a/arch/sandbox/configs/sandbox_defconfig
+++ b/arch/sandbox/configs/sandbox_defconfig
@@ -1,3 +1,4 @@
+CONFIG_MALLOC_SIZE=0x1000000
CONFIG_HUSH_FANCY_PROMPT=y
CONFIG_CMDLINE_EDITING=y
CONFIG_AUTO_COMPLETE=y