SDC_MODE flexibility

This commit is contained in:
rusefillc 2022-12-16 18:35:33 -05:00
parent 428b887cb4
commit 72bd537598
1 changed files with 5 additions and 1 deletions

View File

@ -369,10 +369,14 @@ static BaseBlockDevice* initializeMmcBlockDevice() {
}
#endif /* HAL_USE_MMC_SPI */
#ifndef RE_SDC_MODE
#define RE_SDC_MODE SDC_MODE_4BIT
#endif // RE_SDC_MODE
// Some ECUs are wired for SDIO/SDMMC instead of SPI
#ifdef EFI_SDC_DEVICE
static const SDCConfig sdcConfig = {
SDC_MODE_4BIT
RE_SDC_MODE
};
static BaseBlockDevice* initializeMmcBlockDevice() {