[U-Boot] [PATCH v2 3/9] powerpc: spl and normal u-boot stage set SYS_MALLOC_F indepently

Simon Glass sjg at chromium.org
Tue Jul 18 14:00:15 UTC 2017


Hi Andy,

On 12 July 2017 at 20:25, Andy Yan <andy.yan at rock-chips.com> wrote:
> 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.
>
> Signed-off-by: Andy Yan <andy.yan at rock-chips.com>
> ---
>
> Changes in v2: None
>
>  arch/powerpc/cpu/mpc83xx/start.S | 13 +++++++++----
>  arch/powerpc/cpu/mpc85xx/start.S | 16 ++++++++++------
>  2 files changed, 19 insertions(+), 10 deletions(-)
>

I think you can use CONFIG_VAL() in this patch too.

Regards,
Simon


More information about the U-Boot mailing list