sbc8641d: increase malloc pool size to a sane default
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 17 Oct 2015 20:40:27 +0000 (16:40 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 19 Oct 2015 21:06:17 +0000 (17:06 -0400)
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 <paul.gortmaker@windriver.com>
include/configs/sbc8641d.h

index b4466bc..d248eff 100644 (file)
 #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