[U-Boot] mmc: dw_mmc: Add RCRC handling

Tom Rini trini at konsulko.com
Sat Nov 10 17:42:17 UTC 2018


On Tue, Nov 06, 2018 at 11:42:11PM +0100, Marek Vasut wrote:

> This patch adds check for command response CRC failure. The driver
> is currently ignoring CRC check failure on command resposes which
> have CRC atteched to it, which can be potentially dangerous. Even
> more grueling problem happens when the command response is followed
> by data transfer though, as in that case, the dwmci_data_transfer()
> function will spin until it reaches the 240s timeout.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Heiko Stuebner <heiko at sntech.de>
> Cc: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181110/8000c7ac/attachment.sig>


More information about the U-Boot mailing list