[U-Boot] [PATCH 1/2] nios2: trim CONFIG_SYS_MALLOC_LEN
Thomas Chou
thomas at wytron.com.tw
Fri Nov 6 02:30:36 CET 2015
On 2015年11月04日 13:30, Thomas Chou wrote:
> 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 at wytron.com.tw>
> ---
> include/configs/nios2-generic.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied to u-boot-nios.
> diff --git a/include/configs/nios2-generic.h b/include/configs/nios2-generic.h
> index 6e426d6..9a01b22 100644
> --- a/include/configs/nios2-generic.h
> +++ b/include/configs/nios2-generic.h
> @@ -82,7 +82,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
>
More information about the U-Boot
mailing list