diff options
author | Jon Loeliger <jdl@freescale.com> | 2008-08-26 15:01:36 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-08-27 02:06:03 +0200 |
commit | 39aa1a73483e1ac2bd56d5523abfc3970ee82c77 (patch) | |
tree | 7f28b02f7c1eaf149f27a8a53efc60976eb0c572 /board/freescale/mpc8610hpcd/Makefile | |
parent | 6a8e5692933e8e6d6e5ba7e594f49dd6d4c3a263 (diff) | |
download | u-boot-imx-39aa1a73483e1ac2bd56d5523abfc3970ee82c77.zip u-boot-imx-39aa1a73483e1ac2bd56d5523abfc3970ee82c77.tar.gz u-boot-imx-39aa1a73483e1ac2bd56d5523abfc3970ee82c77.tar.bz2 |
FSL DDR: Convert MPC8610HPCD to new DDR code.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/mpc8610hpcd/Makefile')
-rw-r--r-- | board/freescale/mpc8610hpcd/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/board/freescale/mpc8610hpcd/Makefile b/board/freescale/mpc8610hpcd/Makefile index a457c32..930a206 100644 --- a/board/freescale/mpc8610hpcd/Makefile +++ b/board/freescale/mpc8610hpcd/Makefile @@ -23,14 +23,14 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(BOARD).a -COBJS := $(BOARD).o law.o +COBJS-y += $(BOARD).o +COBJS-$(CONFIG_FSL_DDR2) += ddr.o +COBJS-y += law.o COBJS-${CONFIG_FSL_DIU_FB} += mpc8610hpcd_diu.o -COBJS += ${COBJS-y} - -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) |