]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/cpu/mpc5xxx/Makefile
MPC5200: workaround data corruption for unaligned local bus accesses
[karo-tx-uboot.git] / arch / powerpc / cpu / mpc5xxx / Makefile
index 0ee0611550b0c0db43c708ede83e308238a7adfc..4ab2b7be765abbc0a2100416fa2299ab7cd5e67c 100644 (file)
@@ -30,6 +30,11 @@ SOBJS        = io.o firmware_sc_task_bestcomm.impl.o
 COBJS  = i2c.o traps.o cpu.o cpu_init.o ide.o interrupts.o \
          loadtask.o pci_mpc5200.o serial.o speed.o usb_ohci.o usb.o
 
+# Workaround for local bus unaligned access problem on MPC5200
+#ifdef CONFIG_MPC5200
+COBJS  += memcpy_mpc5200.o
+#endif
+
 SRCS   := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS))
 START  := $(addprefix $(obj),$(START))