Skip to content

Commit 4039ff4

Browse files
Seungwon Jeoncjb
authored andcommitted
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>
1 parent 5438ad9 commit 4039ff4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

drivers/mmc/host/sh_mmcif.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -803,12 +803,13 @@ static u32 sh_mmcif_set_cmd(struct sh_mmcif_host *host,
803803
break;
804804
}
805805
switch (host->timing) {
806-
case MMC_TIMING_UHS_DDR50:
806+
case MMC_TIMING_MMC_DDR52:
807807
/*
808808
* MMC core will only set this timing, if the host
809-
* advertises the MMC_CAP_UHS_DDR50 capability. MMCIF
810-
* implementations with this capability, e.g. sh73a0,
811-
* will have to set it in their platform data.
809+
* advertises the MMC_CAP_1_8V_DDR/MMC_CAP_1_2V_DDR
810+
* capability. MMCIF implementations with this
811+
* capability, e.g. sh73a0, will have to set it
812+
* in their platform data.
812813
*/
813814
tmp |= CMD_SET_DARS;
814815
break;

0 commit comments

Comments
 (0)