armv8: ls1088a: SPL size reduction
authorSumit Garg <sumit.garg@nxp.com>
Sat, 6 Jan 2018 03:34:24 +0000 (09:04 +0530)
committerYork Sun <york.sun@nxp.com>
Wed, 10 Jan 2018 20:31:31 +0000 (12:31 -0800)
commit10e7eaf04a339bb990e2c20fef607d7a7a18779f
tree3d084925ddeb768e5bc6fb9581e58d1d7334eaa1
parentdcb081ba953dcfda54d56a7633a6daf029b87b24
armv8: ls1088a: SPL size reduction

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@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/ls1088a/Makefile
board/freescale/ls1088a/ls1088a.c
include/configs/ls1088a_common.h
include/configs/ls1088ardb.h