From afb7d49f6502ba8bce86d8eb793dfbe5db965c4d Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Tue, 10 Nov 2020 17:02:55 +0900 Subject: [PATCH] mmc: meson_gx_mmc: enable DDR_52MHz mode Enable DDR_52MHz mode. Change-Id: I6bdebff8069f901fe7fc7fdd551d02e0ba89c60e Signed-off-by: Jaehoon Chung --- drivers/mmc/meson_gx_mmc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/meson_gx_mmc.c b/drivers/mmc/meson_gx_mmc.c index fcf4f03..ba67c5d 100644 --- a/drivers/mmc/meson_gx_mmc.c +++ b/drivers/mmc/meson_gx_mmc.c @@ -277,7 +277,8 @@ static int meson_mmc_probe(struct udevice *dev) cfg->voltages = MMC_VDD_33_34 | MMC_VDD_32_33 | MMC_VDD_31_32 | MMC_VDD_165_195; cfg->host_caps = MMC_MODE_8BIT | MMC_MODE_4BIT | - MMC_MODE_HS_52MHz | MMC_MODE_HS; + MMC_MODE_HS_52MHz | MMC_MODE_HS | + MMC_MODE_DDR_52MHz; cfg->f_min = DIV_ROUND_UP(SD_EMMC_CLKSRC_24M, CLK_MAX_DIV); cfg->f_max = 100000000; /* 100 MHz */ cfg->b_max = 511; /* max 512 - 1 blocks */ -- 2.7.4