summaryrefslogtreecommitdiff
path: root/board/freescale/bsc9132qds/Makefile
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar@freescale.com>2013-04-16 13:28:40 +0530
committerAndy Fleming <afleming@freescale.com>2013-06-20 16:09:08 -0500
commit83e0c2bbe319330454d9afc77f51693f07c5deed (patch)
tree4e6ad7441c2159ac75494d691b627b596b011b51 /board/freescale/bsc9132qds/Makefile
parentf15932692669a61c66f49cf8fbf2add194c15df9 (diff)
downloadu-boot-imx-83e0c2bbe319330454d9afc77f51693f07c5deed.zip
u-boot-imx-83e0c2bbe319330454d9afc77f51693f07c5deed.tar.gz
u-boot-imx-83e0c2bbe319330454d9afc77f51693f07c5deed.tar.bz2
board/bsc9132qds:Add NAND boot support using new SPL format
- Add NAND boot target - defines constants - Add spl_minimal.c to initialise DDR - update TLB, LAW entries as per NAND boot Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'board/freescale/bsc9132qds/Makefile')
-rw-r--r--board/freescale/bsc9132qds/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/board/freescale/bsc9132qds/Makefile b/board/freescale/bsc9132qds/Makefile
index 267400b..72b1917 100644
--- a/board/freescale/bsc9132qds/Makefile
+++ b/board/freescale/bsc9132qds/Makefile
@@ -24,11 +24,28 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
+MINIMAL=
+
+ifdef CONFIG_SPL_BUILD
+ifdef CONFIG_SPL_INIT_MINIMAL
+MINIMAL=y
+endif
+endif
+
+ifdef MINIMAL
+
+COBJS-y += spl_minimal.o tlb.o law.o
+
+else
+
+
COBJS-y += $(BOARD).o
COBJS-y += ddr.o
COBJS-y += law.o
COBJS-y += tlb.o
+endif
+
SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS-y))
SOBJS := $(addprefix $(obj),$(SOBJS))