[U-Boot] [PATCH v2] mmc: increase MMC SDHCI read status timeout
Masahiro Yamada
yamada.masahiro at socionext.com
Thu Jun 30 03:41:31 CEST 2016
2016-06-30 5:42 GMT+09:00 Steve Rae <steve.rae at raedomain.com>:
> 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>
Looks good to me. Thanks!
--
Best Regards
Masahiro Yamada
More information about the U-Boot
mailing list