[U-Boot] [PATCH] ls1043ardb: SPL size reduction in case of non-xip boot

york sun york.sun at nxp.com
Mon Feb 27 17:03:18 UTC 2017


On 02/20/2017 03:18 AM, Sumit Garg wrote:
> Using changes in this patch we were able to reduce approx 10k
> size of u-boot-spl.bin image. Following is breif description of
> changes to reduce SPL size:
> 1. Changes in board/freescale/ls1043ardb/Makefile to remove
>    compilation of eth.c and cpld.c in case of SPL build.
> 2. Changes in board/freescale/ls1043ardb/ls1043ardb.c to keep
>    only ddr_init and board_early_init_f funcations in case of SPL
>    build.
> 3. Changes in ls1043a_common.h & ls1043ardb.h to remove driver
>    specific macros due to which static data was being compiled in
>    case of SPL build.
> 4. Disable MMC driver from bieng compiled in case of SPL NAND
>    build and NAND driver from bieng compiled in case of SPL MMC build.
> 5. Remove I2C driver support from SPL in case of LS1043ARDB.
>
> Signed-off-by: Vinitha Pillai-B57223 <vinitha.pillai at nxp.com>

Remove the B57223 from the name, unless you really want it.

> Signed-off-by: Sumit Garg <sumit.garg at nxp.com>
> ---
>  board/freescale/ls1043ardb/Makefile     |  4 +++-
>  board/freescale/ls1043ardb/ls1043ardb.c | 32 ++++++++++++++++++--------------
>  configs/ls1043ardb_sdcard_defconfig     |  1 -
>  include/configs/ls1043a_common.h        | 14 ++++++++++++--
>  include/configs/ls1043ardb.h            |  6 ++++++
>  5 files changed, 39 insertions(+), 18 deletions(-)

This patch cause compiling warning for board/freescale/ls1043aqds/eth.c. 
Please fix.

York


More information about the U-Boot mailing list