SDC_MODE flexibility
This commit is contained in:
parent
276713d24f
commit
fa4c69f6cf
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue