diff mbox

[U-Boot,V2] i.MX: fsl_esdhc: allow use with cache enabled.

Message ID 50091C87.2080807@denx.de
State Not Applicable
Headers show

Commit Message

Stefano Babic July 20, 2012, 8:53 a.m. UTC
On 20/07/2012 07:35, Dirk Behme wrote:

> Then
> 
> http://lists.denx.de/pipermail/u-boot/2012-June/126097.html
> 
> mentions "WD applied the cache stub patch already".
> 
> So do we have this "cache stub patch" somewhere which fixes the issue
> mentioned above? I'm not sure I've seen it ...

It is done, but I see it is compiled only if USB is activated. We need a
fix like:



I send a proper patch.

Stefano
diff mbox

Patch

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))