This commit is contained in:
snowpiaoling 2026-08-26 22:50:34 +00:00 committed by GitHub
commit db64e83bb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View file

@ -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) {

View file

@ -596,6 +596,10 @@ MmcIdentificationMode (
return Status;
}
if (!OcrResponse.Ocr.PowerUp) {
gBS->Stall (1);
}
Timeout--;
} while (!OcrResponse.Ocr.PowerUp && (Timeout > 0));