
27 Feb
2017
27 Feb
'17
6:03 p.m.
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:
- Changes in board/freescale/ls1043ardb/Makefile to remove compilation of eth.c and cpld.c in case of SPL build.
- Changes in board/freescale/ls1043ardb/ls1043ardb.c to keep only ddr_init and board_early_init_f funcations in case of SPL build.
- 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.
- Disable MMC driver from bieng compiled in case of SPL NAND build and NAND driver from bieng compiled in case of SPL MMC build.
- Remove I2C driver support from SPL in case of LS1043ARDB.
Signed-off-by: Vinitha Pillai-B57223 vinitha.pillai@nxp.com
Remove the B57223 from the name, unless you really want it.
Signed-off-by: Sumit Garg sumit.garg@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