aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeungwon Jeon <tgih.jun@samsung.com>2014-03-14 08:12:33 -0400
committerChris Ball <chris@printf.net>2014-04-20 16:59:52 -0400
commit4039ff4741c6e8d27b5ca42dc92d87dc2d625b80 (patch)
tree48bd3375bc12ee8dc78a9d623f3b13fe885c2523
parent5438ad95a57cbfd95708a5047a27ff3cce345b79 (diff)
mmc: sh_mmcif: clarify DDR timing mode between SD-UHS and eMMC
Replaced UHS_DDR50 with MMC_DDR52. CC: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <chris@printf.net>
-rw-r--r--drivers/mmc/host/sh_mmcif.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c
index 54730f4aac87..656fbba4c422 100644
--- a/drivers/mmc/host/sh_mmcif.c
+++ b/drivers/mmc/host/sh_mmcif.c
@@ -803,12 +803,13 @@ static u32 sh_mmcif_set_cmd(struct sh_mmcif_host *host,
803 break; 803 break;
804 } 804 }
805 switch (host->timing) { 805 switch (host->timing) {
806 case MMC_TIMING_UHS_DDR50: 806 case MMC_TIMING_MMC_DDR52:
807 /* 807 /*
808 * MMC core will only set this timing, if the host 808 * MMC core will only set this timing, if the host
809 * advertises the MMC_CAP_UHS_DDR50 capability. MMCIF 809 * advertises the MMC_CAP_1_8V_DDR/MMC_CAP_1_2V_DDR
810 * implementations with this capability, e.g. sh73a0, 810 * capability. MMCIF implementations with this
811 * will have to set it in their platform data. 811 * capability, e.g. sh73a0, will have to set it
812 * in their platform data.
812 */ 813 */
813 tmp |= CMD_SET_DARS; 814 tmp |= CMD_SET_DARS;
814 break; 815 break;