[U-Boot] [PATCHv1 19/22] arm: socfpga: spl: set SPL_MALLOC_SIZE
Marek Vasut
marex at denx.de
Thu Jan 15 01:01:38 CET 2015
On Wednesday, January 14, 2015 at 05:40:59 PM, dinguyen at opensource.altera.com
wrote:
> From: Dinh Nguyen <dinguyen at opensource.altera.com>
Hi!
You didn't set the MALLOC_SIZE, you changed it. But the commit message doesn't
describe the reason for doing so, so please fix that.
Thanks!
> Signed-off-by: Dinh Nguyen <dinguyen at opensource.altera.com>
> ---
> include/configs/socfpga_common.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/socfpga_common.h
> b/include/configs/socfpga_common.h index 4b98378..29d02d6 100644
> --- a/include/configs/socfpga_common.h
> +++ b/include/configs/socfpga_common.h
> @@ -303,7 +303,7 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
> #define CONFIG_SPL_RAM_DEVICE
> #define CONFIG_SPL_TEXT_BASE CONFIG_SYS_INIT_RAM_ADDR
> #define CONFIG_SYS_SPL_MALLOC_START CONFIG_SYS_INIT_SP_ADDR
> -#define CONFIG_SYS_SPL_MALLOC_SIZE (5 * 1024)
> +#define CONFIG_SYS_SPL_MALLOC_SIZE 256
> #define CONFIG_SPL_MAX_SIZE (64 * 1024)
> #define CONFIG_SPL_STACK_SIZE 0x1000
Best regards,
Marek Vasut
More information about the U-Boot
mailing list