diff options
author | Tom Rini <trini@konsulko.com> | 2015-05-05 07:00:38 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-05-05 07:00:38 -0400 |
commit | ff7e9cfc338ecd6db5ed7d6ff8fb7a2889b0131c (patch) | |
tree | d127b051d0cb5ad8571fc176056600488576bdb5 /drivers/mmc/sdhci.c | |
parent | 3f2f1a00394eb7ce7176f9d0930e40e55ba2c79c (diff) | |
parent | 33fe2fb8df01647f97a7bce96a1c7781a7f6d253 (diff) | |
download | talos-obmc-uboot-ff7e9cfc338ecd6db5ed7d6ff8fb7a2889b0131c.tar.gz talos-obmc-uboot-ff7e9cfc338ecd6db5ed7d6ff8fb7a2889b0131c.zip |
Merge branch 'master' of git://git.denx.de/u-boot-mmc
Diffstat (limited to 'drivers/mmc/sdhci.c')
-rw-r--r-- | drivers/mmc/sdhci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 5332e61cae..75556a332d 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -213,6 +213,8 @@ static int sdhci_send_command(struct mmc *mmc, struct mmc_cmd *cmd, SDHCI_BLOCK_SIZE); sdhci_writew(host, data->blocks, SDHCI_BLOCK_COUNT); sdhci_writew(host, mode, SDHCI_TRANSFER_MODE); + } else if (cmd->resp_type & MMC_RSP_BUSY) { + sdhci_writeb(host, 0xe, SDHCI_TIMEOUT_CONTROL); } sdhci_writel(host, cmd->cmdarg, SDHCI_ARGUMENT); |