Ver código fonte

mmc: starfive: add high speed support

add high speed support

Signed-off-by: William Qiu <william.qiu@starfivetech.com>
William Qiu 10 meses atrás
pai
commit
a952f8f079
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      drivers/mmc/dw_mmc.c

+ 1 - 1
drivers/mmc/dw_mmc.c

@@ -685,7 +685,7 @@ void dwmci_setup_cfg(struct mmc_config *cfg, struct dwmci_host *host,
 		cfg->host_caps |= MMC_MODE_4BIT;
 		cfg->host_caps &= ~MMC_MODE_8BIT;
 	}
-	cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS200;
+	cfg->host_caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz | MMC_MODE_HS200;
 
 	cfg->b_max = CONFIG_SYS_MMC_MAX_BLK_COUNT;
 }