summaryrefslogtreecommitdiffstats
path: root/board/socrates/Makefile
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-08-26 22:56:56 -0500
committerKumar Gala <galak@kernel.crashing.org>2008-08-27 11:43:51 -0500
commitbe0bd8234b9777ecd63c4c686f72af070d886517 (patch)
tree46f2a340bb521ed9d2320ff4394da07e39a64a5e /board/socrates/Makefile
parent1167a2fd56138b716e01370c4267f3b70bf9ffa0 (diff)
downloadu-boot-be0bd8234b9777ecd63c4c686f72af070d886517.tar.gz
u-boot-be0bd8234b9777ecd63c4c686f72af070d886517.tar.xz
u-boot-be0bd8234b9777ecd63c4c686f72af070d886517.zip
FSL DDR: Convert socrates to new DDR code.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/socrates/Makefile')
-rw-r--r--board/socrates/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/board/socrates/Makefile b/board/socrates/Makefile
index a41fead8f4..6fae601407 100644
--- a/board/socrates/Makefile
+++ b/board/socrates/Makefile
@@ -28,10 +28,15 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
#
-COBJS := $(BOARD).o law.o tlb.o sdram.o nand.o
-
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS))
+COBJS-y += $(BOARD).o
+COBJS-y += law.o
+COBJS-y += tlb.o
+COBJS-y += nand.o
+COBJS-y += sdram.o
+COBJS-$(CONFIG_FSL_DDR2) += ddr.o
+
+SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS-y))
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS)