[PATCH v2 14/25] mci: tegra: don't set 8bit mode unconditionally
Lucas Stach
dev at lynxeye.de
Wed May 14 13:45:41 PDT 2014
Those flags should be set from the DT parsing code.
Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
drivers/mci/tegra-sdmmc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/mci/tegra-sdmmc.c b/drivers/mci/tegra-sdmmc.c
index 634515705f04..62cf7305d318 100644
--- a/drivers/mci/tegra-sdmmc.c
+++ b/drivers/mci/tegra-sdmmc.c
@@ -470,8 +470,7 @@ static int tegra_sdmmc_probe(struct device_d *dev)
mci->set_ios = tegra_sdmmc_set_ios;
mci->send_cmd = tegra_sdmmc_send_cmd;
mci->voltages = MMC_VDD_32_33 | MMC_VDD_33_34 | MMC_VDD_165_195;
- mci->host_caps |= MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA |
- MMC_CAP_MMC_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED_52MHZ |
+ mci->host_caps |= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED_52MHZ |
MMC_CAP_SD_HIGHSPEED;
dev->priv = host;
--
1.9.0
More information about the barebox
mailing list