MdeModulePkg/SdMmcPciHcDxe: Read response on command completion
SdMmcPciHcDxe driver used to read response only after command and data transfer completed. According to SDHCI specification response data is ready after the command complete status is set by the host controller. Getting the response data early will help debugging the cases when command completed but data transfer timed out. 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
9767a597d7
commit
6d38761085
@@ -154,6 +154,7 @@ typedef struct {
|
||||
|
||||
EFI_EVENT Event;
|
||||
BOOLEAN Started;
|
||||
BOOLEAN CommandComplete;
|
||||
UINT64 Timeout;
|
||||
UINT32 Retries;
|
||||
|
||||
|
Reference in New Issue
Block a user