[U-Boot] [U-Boot, v3, 03/10] powerpc: spl and normal u-boot stage set SYS_MALLOC_F_LEN indepently

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Thu Jul 27 12:44:08 UTC 2017


> Some platforms has very small sram to run spl code, so
> it may have no enough sapce for so much malloc pool before
> relocation in spl stage as the normal u-boot stage.
> Use CONFIG_VAL(SYS_MALLOC_F_LEN) to fit this condition.
> 
> Signed-off-by: Andy Yan <andy.yan at rock-chips.com>
> Acked-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> ---
> 
> Changes in v3:
> - use CONFIG_VAL(), which suggested by Simon
> 
> Changes in v2: None
> 
>  arch/powerpc/cpu/mpc83xx/start.S |  8 ++++----
>  arch/powerpc/cpu/mpc85xx/start.S | 11 +++++------
>  2 files changed, 9 insertions(+), 10 deletions(-)
> 

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list