MdeModulePkg/SdMmcPciHcDxe: Fix PIO transfer mode
Current driver does not support PIO transfer mode for commands other then tuning. This change adds the code to transfer PIO data. Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Marcin Wojtas <mw@semihalf.com> Cc: Zhichao Gao <zhichao.gao@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Mateusz Albecki <mateusz.albecki@intel.com> Tested-by: Hao A Wu <hao.a.wu@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
63fd7f3898
commit
9bfaa3da1e
@@ -158,6 +158,9 @@ typedef struct {
|
||||
UINT64 Timeout;
|
||||
UINT32 Retries;
|
||||
|
||||
BOOLEAN PioModeTransferCompleted;
|
||||
UINT32 PioBlockIndex;
|
||||
|
||||
SD_MMC_HC_ADMA_32_DESC_LINE *Adma32Desc;
|
||||
SD_MMC_HC_ADMA_64_V3_DESC_LINE *Adma64V3Desc;
|
||||
SD_MMC_HC_ADMA_64_V4_DESC_LINE *Adma64V4Desc;
|
||||
|
Reference in New Issue
Block a user