[U-Boot] [PATCH] mmc: omap: handle controller errors properly

Tom Rini trini at ti.com
Mon Mar 19 23:14:39 CET 2012


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<notasas at gmail.com>

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.

-- 
Tom


More information about the U-Boot mailing list