diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2014-09-25 15:22:25 +0200 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2014-10-28 14:42:55 +0100 |
commit | d53e5314cb04786b7cab4afe5529a06fbf5f7db8 (patch) | |
tree | 81d32f16e5ae3c4db2e74c42ac55f9b62ba9c51b /drivers/mmc | |
parent | 88ffc75a690481a20bf8dd2b864f3ba91a698532 (diff) |
mmc: tegra: mark host as CMD23 capable
Newer eMMC standards use CMD23 for multi-block transfer. These
command has the advantage that only one command is necessary, no
stop command after the transfer is required. The kernel already
supports this command, but we need to enable the capability on
the host level.
Tests verified that the MMC code detects that SD-card do not
support CMD23 and hence don't use that command.
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci-tegra.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index 8b79ae82793e..1c8efb8632e9 100644 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c @@ -1133,6 +1133,7 @@ static int __devinit sdhci_tegra_probe(struct platform_device *pdev) host->mmc->caps |= MMC_CAP_ERASE; host->mmc->caps |= MMC_CAP_DISABLE; + host->mmc->caps |= MMC_CAP_CMD23; /* enable 1/8V DDR capable */ host->mmc->caps |= MMC_CAP_1_8V_DDR; if (plat->is_8bit) |