diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-11-04 05:28:29 (GMT) |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2015-11-06 04:56:46 (GMT) |
commit | 2925e2b9ee324f2060fa6c01e4fc54b5967ed85f (patch) | |
tree | 611266079b81d4a847c5fe14bb2177dfe97c3105 /include | |
parent | e03c17d053025c56d04282be0baf5b2969b6f4a0 (diff) | |
download | u-boot-2925e2b9ee324f2060fa6c01e4fc54b5967ed85f.tar.xz |
nios2: trim CONFIG_SYS_MALLOC_LEN
Trim CONFIG_SYS_MALLOC_LEN size, because CONFIG_ENV_SIZE
is included to total memory allocation in common.h,
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Chin Liang See <clsee@altera.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/nios2-generic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/nios2-generic.h b/include/configs/nios2-generic.h index 3a559f1..f687170 100644 --- a/include/configs/nios2-generic.h +++ b/include/configs/nios2-generic.h @@ -83,7 +83,7 @@ #define CONFIG_SYS_MONITOR_BASE (CONFIG_SYS_SDRAM_BASE + \ CONFIG_SYS_SDRAM_SIZE - \ CONFIG_SYS_MONITOR_LEN) -#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 0x20000) +#define CONFIG_SYS_MALLOC_LEN 0x20000 /* * MISC |