From patchwork Fri Jul 20 08:53:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 172176 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id EA9BD2C0374 for ; Fri, 20 Jul 2012 18:54:41 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B4A4A280E4; Fri, 20 Jul 2012 10:54:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3nf+MQmAhhRC; Fri, 20 Jul 2012 10:54:25 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 02278280DC; Fri, 20 Jul 2012 10:54:10 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0A5F2280C4 for ; Fri, 20 Jul 2012 10:53:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ejRtuP3oRcId for ; Fri, 20 Jul 2012 10:53:47 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from smtpi3.ngi.it (smtpi3.ngi.it [88.149.128.33]) by theia.denx.de (Postfix) with ESMTP id 2E5A6280C3 for ; Fri, 20 Jul 2012 10:53:44 +0200 (CEST) Received: from paperina.lan (unknown [88.149.182.160]) by smtpi3.ngi.it (Postfix) with ESMTP id 47E6431841E; Fri, 20 Jul 2012 10:53:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by paperina.lan (Postfix) with ESMTP id 6FBBC140A112; Fri, 20 Jul 2012 10:53:36 +0200 (CEST) Received: from paperina.lan ([127.0.0.1]) by localhost (paperina.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UhBo1hZOkfPc; Fri, 20 Jul 2012 10:53:27 +0200 (CEST) Received: from [192.168.2.247] (unknown [192.168.2.247]) by paperina.lan (Postfix) with ESMTP id 2D434140A110; Fri, 20 Jul 2012 10:53:27 +0200 (CEST) Message-ID: <50091C87.2080807@denx.de> Date: Fri, 20 Jul 2012 10:53:27 +0200 From: Stefano Babic User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: Dirk Behme References: <201206121923.30555.marex@denx.de> <4FFD1D58.5000904@de.bosch.com> <201207200432.46649.marex@denx.de> <5008EE22.6040003@de.bosch.com> In-Reply-To: <5008EE22.6040003@de.bosch.com> X-Enigmail-Version: 1.5a1pre Cc: Marek Vasut , "u-boot@lists.denx.de" , Andy Fleming Subject: Re: [U-Boot] [PATCH V2] i.MX: fsl_esdhc: allow use with cache enabled. X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de 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 --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))