summaryrefslogtreecommitdiff
path: root/board/atum8548/Makefile
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-08-26 23:14:14 -0500
committerKumar Gala <galak@kernel.crashing.org>2008-08-27 11:43:51 -0500
commita947e4c7eb15cea1d9fb633955c516aab5ad35dd (patch)
treec5bafc6d590130a8fe07ecdf9242bc43aef8a73a /board/atum8548/Makefile
parentbe0bd8234b9777ecd63c4c686f72af070d886517 (diff)
downloadu-boot-imx-a947e4c7eb15cea1d9fb633955c516aab5ad35dd.zip
u-boot-imx-a947e4c7eb15cea1d9fb633955c516aab5ad35dd.tar.gz
u-boot-imx-a947e4c7eb15cea1d9fb633955c516aab5ad35dd.tar.bz2
FSL DDR: Convert atum8548 to new DDR code.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/atum8548/Makefile')
-rw-r--r--board/atum8548/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/board/atum8548/Makefile b/board/atum8548/Makefile
index d2e689f1..b991308 100644
--- a/board/atum8548/Makefile
+++ b/board/atum8548/Makefile
@@ -29,10 +29,13 @@ endif
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_DDR2) += 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)