diff options
author | Prabhakar Kushwaha <prabhakar@freescale.com> | 2013-04-16 07:58:12 (GMT) |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-06-20 21:09:07 (GMT) |
commit | 0fa934d235c282e8efd119fc14a18315a8666930 (patch) | |
tree | f5ba5143a55d85340127fcf34b6789c140628a89 /board/freescale/p1010rdb/Makefile | |
parent | 3a88179d03dfc41154e5bf12826c800dee864b7c (diff) | |
download | u-boot-fsl-qoriq-0fa934d235c282e8efd119fc14a18315a8666930.tar.xz |
board/p1010rdb:Add NAND boot support using new SPL format
- defines constants
- Add spl_minimal.c to initialise DDR
- update TLB entries as per NAND boot
- remove nand_spl support for P1010RDB
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'board/freescale/p1010rdb/Makefile')
-rw-r--r-- | board/freescale/p1010rdb/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/board/freescale/p1010rdb/Makefile b/board/freescale/p1010rdb/Makefile index 4c705b6..e6563be 100644 --- a/board/freescale/p1010rdb/Makefile +++ b/board/freescale/p1010rdb/Makefile @@ -24,11 +24,27 @@ 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)) |