summaryrefslogtreecommitdiff
path: root/board/sbc8560/Makefile
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-08-26 23:52:58 -0500
committerKumar Gala <galak@kernel.crashing.org>2008-08-27 11:43:52 -0500
commit8e55313b7ae12352a343f9b9962e662dbd897187 (patch)
tree6181c86879fee4598e31b754db70c96b40964210 /board/sbc8560/Makefile
parent9658bec2e8f55d56ca1be70090ce5a348be4980f (diff)
downloadu-boot-imx-8e55313b7ae12352a343f9b9962e662dbd897187.zip
u-boot-imx-8e55313b7ae12352a343f9b9962e662dbd897187.tar.gz
u-boot-imx-8e55313b7ae12352a343f9b9962e662dbd897187.tar.bz2
FSL DDR: Convert SBC8560 to new DDR code.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/sbc8560/Makefile')
-rw-r--r--board/sbc8560/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/board/sbc8560/Makefile b/board/sbc8560/Makefile
index bb96d95..6399734 100644
--- a/board/sbc8560/Makefile
+++ b/board/sbc8560/Makefile
@@ -28,10 +28,13 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
-COBJS := $(BOARD).o law.o tlb.o
+COBJS-y += $(BOARD).o
+COBJS-y += law.o
+COBJS-y += tlb.o
+COBJS-$(CONFIG_FSL_DDR1) += ddr.o
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS))
+SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS-y))
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS)