[U-Boot] [PATCH] ls1046ardb: SPL size reduction in case of non-xip boot
york sun
york.sun at nxp.com
Mon Feb 27 17:03:54 UTC 2017
On 02/20/2017 04:30 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. Changes in board/freescale/ls1046ardb/Makefile to remove
> compilation of eth.c and cpld.c in case of SPL build.
> 2. Changes in board/freescale/ls1046ardb/ls1046ardb.c to keep
> only ddr_init and board_early_init_f funcations in case of SPL
> build.
> 3. Changes in ls1046a_common.h & ls1046ardb.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.
>
> Signed-off-by: Vinitha Pillai-B57223 <vinitha.pillai at nxp.com>
Remove B57223 from the name.
> Signed-off-by: Sumit Garg <sumit.garg at nxp.com>
> ---
> board/freescale/ls1046ardb/Makefile | 4 +++-
> board/freescale/ls1046ardb/ls1046ardb.c | 30 ++++++++++++++++--------------
> include/configs/ls1046a_common.h | 12 ++++++++++--
> include/configs/ls1046ardb.h | 7 ++++++-
> 4 files changed, 35 insertions(+), 18 deletions(-)
>
This patch causes compiling warning for
board/freescale/ls1046aqds/eth.c. Please fix.
York
More information about the U-Boot
mailing list