]> Git Repo - J-u-boot.git/commit
mmc: increase MMC SDHCI read status timeout
authorSteve Rae <[email protected]>
Wed, 29 Jun 2016 20:42:01 +0000 (13:42 -0700)
committerTom Rini <[email protected]>
Fri, 1 Jul 2016 21:42:57 +0000 (17:42 -0400)
commitd90bb439335386b3ae6ada89b89720cc66ec9352
tree98248a20b3da4b5a3fb3243f6afcecc63535dbf5
parentdf6b506f16d2666ebac5b9d61b67bb6bbfaea6de
mmc: increase MMC SDHCI read status timeout

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 <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Tested-by: Masahiro Yamada <[email protected]>
Tested-by: Jaehoon Chung <[email protected]>
drivers/mmc/sdhci.c
This page took 0.034186 seconds and 4 git commands to generate.