Hello, We are sending v2 of the fixes and PIO mode support. The main change is replacing PCD introduction with new function added to EFI_SD_MMC_PASS_THRU_PROTOCOL, which allows obtaining information about DMA usage from host controller capabilities.
Any comments or remarks would be very welcome. Changelog: v1 -> v2 * fix EmmcPeimSwitchToHighSpeed argument order as well * introduce IsDmaEnabled in EFI_SD_MMC_PASS_THRU_PROTOCOL and modify condition checks along the code * improve commit logs Jan Dąbroś (4): MdeModulePkg: SdMmc: Introduce IsDmaEnabled function MdeModulePkg/SdDxe: Add sending StopTransmission command MdeModulePkg/SdDxe: Add checking device status procedure MdeModulePkg/SdDxe: Add SetBlockLen command Joe Zhou (2): MdeModulePkg: SdMmc: Fix parameters order in EmmcSwitch functions call MdeModulePkg: SdMmc: Add delay before eMMC reset MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c | 5 +- MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.c | 39 +++++- MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.h | 21 +++ MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c | 2 +- MdeModulePkg/Bus/Sd/SdDxe/SdBlockIo.c | 150 +++++++++++++++++++++ MdeModulePkg/Bus/Sd/SdDxe/SdDxe.c | 3 + MdeModulePkg/Bus/Sd/SdDxe/SdDxe.h | 1 + MdePkg/Include/Protocol/SdMmcPassThru.h | 22 +++ 8 files changed, 240 insertions(+), 3 deletions(-) mode change 100644 => 100755 MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c -- 1.8.3.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel