mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
Merge 33dadb270b into fb2ac429de
This commit is contained in:
commit
db64e83bb2
2 changed files with 8 additions and 0 deletions
|
|
@ -210,6 +210,8 @@ MmcTransferBlock (
|
|||
break; // Prevents delay once finished
|
||||
}
|
||||
}
|
||||
|
||||
gBS->Stall (1);
|
||||
}
|
||||
|
||||
if (BufferSize > This->Media->BlockSize) {
|
||||
|
|
@ -323,6 +325,8 @@ MmcIoBlocks (
|
|||
if (!EFI_ERROR (Status)) {
|
||||
MmcHost->ReceiveResponse (MmcHost, MMC_RESPONSE_TYPE_R1, Response);
|
||||
}
|
||||
|
||||
gBS->Stall (1);
|
||||
}
|
||||
|
||||
if (0 == Timeout) {
|
||||
|
|
|
|||
|
|
@ -596,6 +596,10 @@ MmcIdentificationMode (
|
|||
return Status;
|
||||
}
|
||||
|
||||
if (!OcrResponse.Ocr.PowerUp) {
|
||||
gBS->Stall (1);
|
||||
}
|
||||
|
||||
Timeout--;
|
||||
} while (!OcrResponse.Ocr.PowerUp && (Timeout > 0));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue