[U-Boot] [U-Boot, v2] mmc: increase MMC SDHCI read status timeout
Tom Rini
trini at konsulko.com
Sat Jul 2 03:38:08 CEST 2016
On Wed, Jun 29, 2016 at 01:42:01PM -0700, Steve Rae wrote:
> Otherwise, ocassionally see errors like this:
> Flashing sparse image at offset 2078720
> Flashing Sparse Image
> sdhci_send_command: Timeout for status update!
> mmc fail to send stop cmd
> write_sparse_image: Write failed, block #2181088 [0]
>
> This does not affect the actual writing speed, which is controlled by
> the default value:
> CONFIG_SDHCI_CMD_DEFAULT_TIMEOUT
>
> It only increases the retries when reading:
> SDHCI_INT_STATUS
> to avoid the timeout error.
>
> Signed-off-by: Steve Rae <steve.rae at raedomain.com>
> Reviewed-by: Stefan Roese <sr at denx.de>
> Tested-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> Tested-by: Jaehoon Chung <jh80.chung at samsung.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: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160701/1580bff8/attachment.sig>
More information about the U-Boot
mailing list