From: Paul Gortmaker Date: Sat, 17 Oct 2015 20:40:27 +0000 (-0400) Subject: sbc8641d: increase malloc pool size to a sane default X-Git-Tag: v2015.10~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7229c3c70bd4a391a3835f474d37b08843b1c950;p=u-boot sbc8641d: increase malloc pool size to a sane default Currently the board fails to save its env, since the env size is much smaller than the sector size, and the malloc fails for the pad buffer, giving the user visible symptom of: Unable to save the rest of sector (253952) Allow for 1M malloc pool, the same as used on the sbc8548 board. Signed-off-by: Paul Gortmaker --- diff --git a/include/configs/sbc8641d.h b/include/configs/sbc8641d.h index b4466bc3b4..d248eff420 100644 --- a/include/configs/sbc8641d.h +++ b/include/configs/sbc8641d.h @@ -242,7 +242,7 @@ #define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET #define CONFIG_SYS_MONITOR_LEN (256 * 1024) /* Reserve 256 kB for Mon */ -#define CONFIG_SYS_MALLOC_LEN (128 * 1024) /* Reserved for malloc */ +#define CONFIG_SYS_MALLOC_LEN (1024 * 1024) /* Reserved for malloc */ /* Serial Port */ #define CONFIG_CONS_INDEX 1