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

Stefano Babic sbabic at denx.de
Fri Jul 20 10:53:27 CEST 2012


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:


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

I send a proper patch.

Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list