[U-Boot] [PATCH 4/8] x86: fsp: Enlarge the size of malloc() pool before relocation
Simon Glass
sjg at chromium.org
Tue Aug 18 04:00:25 CEST 2015
Hi Bin,
On 15 August 2015 at 01:07, Bin Meng <bmeng.cn at gmail.com> wrote:
> After fsp_init() returns, the stack has already been switched to a
> place within system memory as defined by CONFIG_FSP_TEMP_RAM_ADDR.
> Enlarge the size of malloc() pool before relocation since we have
> plenty of memory now.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> arch/x86/Kconfig | 7 +++++++
> arch/x86/cpu/start.S | 8 ++++++++
> arch/x86/lib/fsp/fsp_common.c | 6 +++++-
> 3 files changed, 20 insertions(+), 1 deletion(-)
Can you please explain a bit why this patch is needed? Wouldn't it be
better to avoid needing so much memory?
Regards,
Simon
More information about the U-Boot
mailing list