sdmmc: add communication check for eMMC after frequency switch

This commit is contained in:
michael
2018-09-27 15:43:00 +08:00
committed by bot
parent bcb9ba6783
commit 232d98608a
3 changed files with 34 additions and 1 deletions

View File

@@ -117,7 +117,9 @@ esp_err_t sdmmc_card_init(const sdmmc_host_t* config, sdmmc_card_t* card)
/* Sanity check after switching the bus mode and frequency */
SDMMC_INIT_STEP(is_sdmem, sdmmc_check_scr);
/* TODO: add similar checks for eMMC and SDIO */
/* TODO: this is CMD line only, add data checks for eMMC */
SDMMC_INIT_STEP(is_mmc, sdmmc_init_mmc_check_csd);
/* TODO: add similar checks for SDIO */
return ESP_OK;
}