[U-Boot] [PATCH] MPC85XX: compile stub cache function

Stefano Babic sbabic at denx.de
Fri Jul 20 11:00:02 CEST 2012


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 <sbabic at denx.de>
CC: Andy Fleming <afleming at gmail.com>
CC: Dirk Behme <dirk.behme at de.bosch.com>
CC: Marek Vasut <marex at denx.de>
CC: Wolfgang Denk <wd at 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



More information about the U-Boot mailing list