summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/exynos_dw_mmc.c
diff options
context:
space:
mode:
authorRajeshwari Shinde <rajeshwari.s@samsung.com>2013-10-29 12:53:13 +0530
committerPantelis Antoniou <panto@antoniou-consulting.com>2013-10-31 09:55:33 +0200
commit6f0b7caa671f92c2d4676c84381d17fb90f7d2cd (patch)
treeaec09b71cbf286a48d7dd831b8f10274307e2475 /drivers/mmc/exynos_dw_mmc.c
parent56b34bc617f64ce34b34cebc7cbde7a8e4c1002f (diff)
downloadtalos-obmc-uboot-6f0b7caa671f92c2d4676c84381d17fb90f7d2cd.tar.gz
talos-obmc-uboot-6f0b7caa671f92c2d4676c84381d17fb90f7d2cd.zip
DWMMC: SMDK5420: Disable SMU for eMMC
SMDK5420 has a new Security Management Unit added for dwmmc driver, hence, configuring the control registers to support booting via eMMC. Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Diffstat (limited to 'drivers/mmc/exynos_dw_mmc.c')
-rw-r--r--drivers/mmc/exynos_dw_mmc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/exynos_dw_mmc.c b/drivers/mmc/exynos_dw_mmc.c
index 1f2c53f214..a0f1511cb6 100644
--- a/drivers/mmc/exynos_dw_mmc.c
+++ b/drivers/mmc/exynos_dw_mmc.c
@@ -62,6 +62,9 @@ int exynos_dwmci_add_port(int index, u32 regbase, int bus_width, u32 clksel)
host->name = "EXYNOS DWMMC";
host->ioaddr = (void *)regbase;
host->buswidth = bus_width;
+#ifdef CONFIG_EXYNOS5420
+ host->quirks = DWMCI_QUIRK_DISABLE_SMU;
+#endif
if (clksel) {
host->clksel_val = clksel;
OpenPOWER on IntegriCloud