diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-08-26 23:52:32 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-08-27 11:43:52 -0500 |
commit | 9658bec2e8f55d56ca1be70090ce5a348be4980f (patch) | |
tree | 33559925f63bbdd22895f45eea08932b7b3bffc7 /board/mpc8540eval/Makefile | |
parent | 6bfa8f723cfd82c55e3ef5620ade396916470a70 (diff) | |
download | u-boot-imx-9658bec2e8f55d56ca1be70090ce5a348be4980f.zip u-boot-imx-9658bec2e8f55d56ca1be70090ce5a348be4980f.tar.gz u-boot-imx-9658bec2e8f55d56ca1be70090ce5a348be4980f.tar.bz2 |
FSL DDR: Convert MPC8540EVAL to new DDR code.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/mpc8540eval/Makefile')
-rw-r--r-- | board/mpc8540eval/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/board/mpc8540eval/Makefile b/board/mpc8540eval/Makefile index 325d6d5..5a68f11 100644 --- a/board/mpc8540eval/Makefile +++ b/board/mpc8540eval/Makefile @@ -25,10 +25,14 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(BOARD).a -COBJS := $(BOARD).o flash.o law.o tlb.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 += flash.o +COBJS-$(CONFIG_FSL_DDR1) += ddr.o + +SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS-y)) SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(obj).depend $(OBJS) $(SOBJS) |