Add SD/MMC legacy capability. Otherwise the legacy cards supports will
be broken.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
/* Restrict card's capabilities by what the host can do */
caps = card_caps & (mmc->cfg->host_caps | MMC_MODE_1BIT);
+ caps |= MMC_CAP(SD_LEGACY);
if (!uhs_en)
caps &= ~UHS_CAPS;
/* Restrict card's capabilities by what the host can do */
card_caps &= (mmc->cfg->host_caps | MMC_MODE_1BIT);
+ card_caps |= MMC_CAP(MMC_LEGACY);
/* Only version 4 of MMC supports wider bus widths */
if (mmc->version < MMC_VERSION_4)