diff options
author | Prabhakar Kushwaha <prabhakar@freescale.com> | 2013-04-16 13:27:59 +0530 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-06-20 16:08:58 -0500 |
commit | 3a88179d03dfc41154e5bf12826c800dee864b7c (patch) | |
tree | d1c2452550cf54d2d1e96454544f894ca6da7029 /board/freescale | |
parent | 74fa22ed731036f0bc3424c720632c1ee2752896 (diff) | |
download | u-boot-imx-3a88179d03dfc41154e5bf12826c800dee864b7c.zip u-boot-imx-3a88179d03dfc41154e5bf12826c800dee864b7c.tar.gz u-boot-imx-3a88179d03dfc41154e5bf12826c800dee864b7c.tar.bz2 |
powerpc/mpc85xx: new SPL support for IFC NAND
Linker script is not able find start.o binary. So add its absolute path in
u-boot-spl.lds. This change is similar to u-boot-nand.lds
common/Makefile: Avoid compiling unnecssary files
fsl_ifc_spl.c : It is is responsible for reading u-boot binary from
NAND flash and copying into DDR. It also transfer control from NAND SPL
to u-boot image present in DDR.
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/common/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/freescale/common/Makefile b/board/freescale/common/Makefile index 72bb56c..37236d0 100644 --- a/board/freescale/common/Makefile +++ b/board/freescale/common/Makefile @@ -29,6 +29,15 @@ endif LIB = $(obj)libfreescale.o +MINIMAL= + +ifdef CONFIG_SPL_BUILD +ifdef CONFIG_SPL_INIT_MINIMAL +MINIMAL=y +endif +endif + +ifndef MINIMAL COBJS-$(CONFIG_FSL_CADMUS) += cadmus.o COBJS-$(CONFIG_FSL_VIA) += cds_via.o COBJS-$(CONFIG_FMAN_ENET) += fman.o @@ -68,6 +77,7 @@ SUBLIB-$(CONFIG_P3041DS) += p_corenet/libp_corenet.o SUBLIB-$(CONFIG_P4080DS) += p_corenet/libp_corenet.o SUBLIB-$(CONFIG_P5020DS) += p_corenet/libp_corenet.o SUBLIB-$(CONFIG_P5040DS) += p_corenet/libp_corenet.o +endif SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) OBJS := $(addprefix $(obj),$(COBJS-y)) |