[U-Boot] [PATCH] ls1046ardb: SPL size reduction in case of non-xip boot
Sumit Garg
sumit.garg at nxp.com
Tue Feb 28 03:45:49 UTC 2017
> -----Original Message-----
> From: york sun
> Sent: Monday, February 27, 2017 10:34 PM
> To: Sumit Garg <sumit.garg at nxp.com>; u-boot at lists.denx.de
> Cc: Ruchika Gupta <ruchika.gupta at nxp.com>; Prabhakar Kushwaha
> <prabhakar.kushwaha at nxp.com>; Mingkai Hu <mingkai.hu at nxp.com>; Vini
> Pillai <vinitha.pillai at nxp.com>
> Subject: Re: [PATCH] ls1046ardb: SPL size reduction in case of non-xip boot
>
> 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.
>
Sure, will remove it.
> > 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
Will fix compilation warning.
Sumit
More information about the U-Boot
mailing list