[U-Boot] [PATCH 1/3] armv8: fsl-layerscape: SPL size reduction

York Sun york.sun at nxp.com
Thu Sep 14 20:38:11 UTC 2017


On 08/29/2017 12:01 AM, Sumit Garg wrote:
> Using changes in this patch we were able to reduce approx 4k
> size of u-boot-spl.bin image. Following is breif description of
> changes to reduce SPL size:
> 1. Compile-off mp.c and libfdt.c in case of SPL build.
> 2. Keep MMU and DCACHE specific variable and functions under
>     CONFIG_SYS_DCACHE_OFF macro.
> 3. Compile-off IFC specific funtion call "init_early_memctl_regs"
>     in case of SPL build.
> 
> Signed-off-by: Sumit Garg <sumit.garg at nxp.com>
> ---
> 
> Dependent on ls1088 base SD boot target. Also dependent on ls1088
> QPSI secure boot target.

I don't agree D-cache should be off for SPL boot. Please find other way 
to reduce SPL image size.

York


More information about the U-Boot mailing list