diff options
author | Kyle Edwards <kyleedwardsny@gmail.com> | 2017-04-12 22:42:32 -0400 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2017-04-21 13:54:47 +0200 |
commit | 1967228b028b5ddf0b0b41806e5bd10e49e836a6 (patch) | |
tree | 8307f524c53cda43f13a9e799e6582c5efae3396 /include/configs/qemu-mips64.h | |
parent | 9828d050cf5026b27c6acdf615c5161b5a269092 (diff) |
mips: qemu-mips/64: Expand malloc pool for CONFIG_SYS_BOOTPARAMS_LEN
Before this patch, CONFIG_SYS_BOOTPARAMS_LEN was the same size as
CONFIG_SYS_MALLOC_LEN. So, if malloc() had previously been called, and
initr_malloc_bootparams() was called, it would fail with an out-of-
memory error. This patch fixes this issue by expanding the malloc pool
to 256KB.
Signed-off-by: Kyle Edwards <kyleedwardsny@gmail.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'include/configs/qemu-mips64.h')
-rw-r--r-- | include/configs/qemu-mips64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/qemu-mips64.h b/include/configs/qemu-mips64.h index 4856087718c..28b791acdd1 100644 --- a/include/configs/qemu-mips64.h +++ b/include/configs/qemu-mips64.h @@ -80,7 +80,7 @@ /* max number of command args */ #define CONFIG_SYS_MAXARGS 16 -#define CONFIG_SYS_MALLOC_LEN 128*1024 +#define CONFIG_SYS_MALLOC_LEN (256 << 10) #define CONFIG_SYS_BOOTPARAMS_LEN 128*1024 |