summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/fsl_esdhc_imx.c
diff options
context:
space:
mode:
authorFaiz Abbas <faiz_abbas@ti.com>2020-02-26 13:44:32 +0530
committerPeng Fan <peng.fan@nxp.com>2020-03-09 08:33:16 +0800
commite8d5dde4473514327b5ea67fb69d8fdd8410240c (patch)
tree13b2315faae5646a332f82971fae15698bf53b61 /drivers/mmc/fsl_esdhc_imx.c
parentcb884347f4f902b605932da1d45d477d10c144e3 (diff)
downloadu-boot-e8d5dde4473514327b5ea67fb69d8fdd8410240c.tar.gz
u-boot-e8d5dde4473514327b5ea67fb69d8fdd8410240c.tar.xz
u-boot-e8d5dde4473514327b5ea67fb69d8fdd8410240c.zip
mmc: Merge SD_LEGACY and MMC_LEGACY bus modes
MMC_LEGACY & SD_LEGACY are not differentiated timings in the spec and don't have any meaningful differences. Therefore, get rid of all references to SD_LEGACY and use MMC_LEGACY to mean both of them. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'drivers/mmc/fsl_esdhc_imx.c')
-rw-r--r--drivers/mmc/fsl_esdhc_imx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/fsl_esdhc_imx.c b/drivers/mmc/fsl_esdhc_imx.c
index 4900498e9b..6bca2a9c82 100644
--- a/drivers/mmc/fsl_esdhc_imx.c
+++ b/drivers/mmc/fsl_esdhc_imx.c
@@ -743,7 +743,6 @@ static int esdhc_set_timing(struct mmc *mmc)
switch (mmc->selected_mode) {
case MMC_LEGACY:
- case SD_LEGACY:
esdhc_reset_tuning(mmc);
writel(mixctrl, &regs->mixctrl);
break;