mmc: tegra: Enable HS200 mode support
rrajk [Sat, 16 Mar 2013 10:09:06 +0000 (15:09 +0530)]
Set MMC_CAP2_HS200 to enable HS200 mode support.

Change-Id: I9e432ee8606d099708b2875b113686b9f3069241
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/210213
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>

drivers/mmc/host/sdhci-tegra.c

index f3313b9..98fc71a 100644 (file)
@@ -2437,10 +2437,15 @@ static int sdhci_tegra_probe(struct platform_device *pdev)
 
 #if !defined(CONFIG_ARCH_TEGRA_2x_SOC) && !defined(CONFIG_ARCH_TEGRA_3x_SOC)
        host->mmc->caps2 |= MMC_CAP2_HS200;
+#ifdef CONFIG_TEGRA_FPGA_PLATFORM
+       /* Enable HS200 mode */
+       host->mmc->caps2 |= MMC_CAP2_HS200;
+#else
        host->mmc->caps2 |= MMC_CAP2_CACHE_CTRL;
        host->mmc->caps |= MMC_CAP_CMD23;
        host->mmc->caps2 |= MMC_CAP2_PACKED_CMD;
 #endif
+#endif
 
 #ifdef CONFIG_MMC_FREQ_SCALING
        /*