]> git.sur5r.net Git - u-boot/commitdiff
nds32: ftsdc010: Fix SD detech fail on AE3XX.
authorRick Chen <rick@andestech.com>
Fri, 25 Aug 2017 06:03:00 +0000 (14:03 +0800)
committerRick Chen <rickchen36@gmail.com>
Thu, 30 Nov 2017 02:04:36 +0000 (10:04 +0800)
AE3XX can not support SD high-speed mode.
SW can work-around by removing HS capibility.

Signed-off-by: Rick Chen <rick@andestech.com>
drivers/mmc/ftsdc010_mci.c

index 113cf13909abeda3d2ec193c1b46530c0aecad5e..6ac4f83bd1cf34c38cae3aa8a1d6f19fbc567e8f 100644 (file)
@@ -376,7 +376,6 @@ void ftsdc_setup_cfg(struct mmc_config *cfg, const char *name, int buswidth,
                cfg->host_caps |= MMC_MODE_4BIT;
                cfg->host_caps &= ~MMC_MODE_8BIT;
        }
-       cfg->host_caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz;
        cfg->part_type = PART_TYPE_DOS;
        cfg->b_max = CONFIG_SYS_MMC_MAX_BLK_COUNT;
 }