[U-Boot] [PATCH v2 3/7] armv8: fsl-layerscape: Avoid running dram_init_banksize again

Simon Glass sjg at chromium.org
Sun Sep 17 17:54:49 UTC 2017


On 14 September 2017 at 13:01, York Sun <york.sun at nxp.com> wrote:
> gd->ram_size is reduced in this function to reserve secure memory.
> Avoid running this function again to further reduce memory size.
> This fixes issue for SPL boot with PPA image loaded in which case
> secure memory is incorrectly allocated due to repeated calling.
>
> Signed-off-by: York Sun <york.sun at nxp.com>
>
> ---
>
> Changes in v2:
> New patch to fix gd->ram_size error after rebasing to latest mater.
>
>  arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 18 +++++++++++++++++-
>  1 file changed, 17 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list