From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pali =?ISO-8859-1?Q?Roh=E1r?= Date: Wed, 21 Mar 2012 20:11:08 +0100 Subject: [U-Boot] [PATCH] mmc: omap: handle controller errors properly In-Reply-To: <4F67AFCF.4040209@ti.com> References: <1332195126-24719-1-git-send-email-notasas@gmail.com> <4F67AFCF.4040209@ti.com> Message-ID: <2373057.ZCnv7brvfm@pali> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday 19 March 2012 15:14:39 Tom Rini wrote: > On 03/19/2012 03:12 PM, Grazvydas Ignotas wrote: > > According to OMAP3 TRM, when the controller reports certain > > errors, driver must perform a software reset. This is done by > > setting a bit in SYSCTL and waiting it to clear: > > - SRC on command timeout (CTO) > > - SRD on data errors (DTO, DCRC and DEB) > > > > This fixes a problem seen on OMAP3 pandora board with some cards > > > > that won't work with a message printed multiple times: > > timedout waiting on cmd inhibit to clear > > > > Code loosely based on Linux omap_hsmmc driver. > > > > Signed-off-by: Grazvydas Ignotas > > Most excellent! Pali, can you try this on N900 and see if that > helps out the problem you were having as well? > > Andy, I'll give this a spin through the boards I've got here but > I'd like this to go, via your tree, into u-boot/master assuming > all goes well. Hi! I tried this patch and it really fixed problem on Nokia N900. -- Pali Roh?r pali.rohar at gmail.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: