An empty flush_dcache_range() was added into MPC85xx to
work with drivers shared with other architecture.
However, it is compiled only if USB is set, but it is required
for other drivers (FSL_ESDHC), too.

Signed-off-by: Stefano Babic <sba...@denx.de>
CC: Andy Fleming <aflem...@gmail.com>
CC: Dirk Behme <dirk.be...@de.bosch.com>
CC: Marek Vasut <ma...@denx.de>
CC: Wolfgang Denk <w...@denx.de>
---
 arch/powerpc/cpu/mpc85xx/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/cpu/mpc85xx/Makefile 
b/arch/powerpc/cpu/mpc85xx/Makefile
index 7d65aa7..34f6c54 100644
--- a/arch/powerpc/cpu/mpc85xx/Makefile
+++ b/arch/powerpc/cpu/mpc85xx/Makefile
@@ -131,7 +131,7 @@ COBJS       += tlb.o
 COBJS  += traps.o
 
 # Stub implementations of cache management functions for USB
-COBJS-$(CONFIG_USB_EHCI) += cache.o
+COBJS += cache.o
 
 SRCS   := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS))
-- 
1.7.9.5

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to