
14 Sep
2017
14 Sep
'17
10:38 p.m.
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:
- Compile-off mp.c and libfdt.c in case of SPL build.
- Keep MMU and DCACHE specific variable and functions under CONFIG_SYS_DCACHE_OFF macro.
- Compile-off IFC specific funtion call "init_early_memctl_regs" in case of SPL build.
Signed-off-by: Sumit Garg sumit.garg@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