Blackfin: support console-over-JTAG
[oweals/u-boot.git] / cpu / mpc86xx / Makefile
index 454c72840917636b61052262afa286404041d853..34a97555621457c1b7556250df9ed64a26477f3e 100644 (file)
@@ -31,6 +31,10 @@ LIB  = $(obj)lib$(CPU).a
 START  = start.o
 SOBJS  = cache.o
 
+ifneq ($(CONFIG_NUM_CPUS),1)
+COBJS-y += mp.o
+SOBJS += release.o
+endif
 COBJS-y        += traps.o
 COBJS-y        += cpu.o
 COBJS-y        += cpu_init.o
@@ -39,9 +43,9 @@ COBJS-y       += interrupts.o
 
 COBJS-$(CONFIG_OF_LIBFDT) += fdt.o
 
-ifneq ($(CONFIG_FSL_DDR2),y)
-COBJS-y        += spd_sdram.o
-endif
+COBJS-$(CONFIG_MPC8641) += ddr-8641.o
+# 8610 & 8641 are identical w/regards to DDR
+COBJS-$(CONFIG_MPC8610) += ddr-8641.o
 
 SRCS   := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
 OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS-y))