diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-08-26 22:56:56 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-08-27 11:43:51 -0500 |
commit | be0bd8234b9777ecd63c4c686f72af070d886517 (patch) | |
tree | 46f2a340bb521ed9d2320ff4394da07e39a64a5e /board/socrates/Makefile | |
parent | 1167a2fd56138b716e01370c4267f3b70bf9ffa0 (diff) | |
download | u-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/Makefile | 13 |
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) |