[U-Boot] [PATCH v2 2/3] armv8: ls1088a: SPL size reduction

York Sun york.sun at nxp.com
Thu Jan 11 19:38:16 UTC 2018


On 01/05/2018 08:00 AM, Sumit Garg wrote:
> Using changes in this patch we were able to reduce approx 8k
> size of u-boot-spl.bin image. Following is breif description of
> changes to reduce SPL size:
> 1. Changes in board/freescale/ls1088a/Makefile to remove
>    compilation of eth.c and cpld.c in case of SPL build.
> 2. Changes in board/freescale/ls1088a/ls1088a.c to keep
>    board_early_init_f funcations in case of SPL build.
> 3. Changes in ls1088a_common.h & ls1088ardb.h to remove driver
>    specific macros due to which static data was being compiled in
>    case of SPL build.
> 
> Signed-off-by: Sumit Garg <sumit.garg at nxp.com>
> ---
> 
> Changes in v2:
> Removed code specific to D-Cache off. With GCC 6.2 tool-chain, able
> to reduce size to 79K.
> 

Applied to fsl-qoriq master. Thanks.

York



More information about the U-Boot mailing list