summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2014-09-25 15:22:25 +0200
committerStefan Agner <stefan.agner@toradex.com>2014-10-28 14:42:55 +0100
commitd53e5314cb04786b7cab4afe5529a06fbf5f7db8 (patch)
tree81d32f16e5ae3c4db2e74c42ac55f9b62ba9c51b
parent88ffc75a690481a20bf8dd2b864f3ba91a698532 (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.
-rw-r--r--drivers/mmc/host/sdhci-tegra.c1
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)