MdeModulePkg: SdMmc: Add delay before eMMC reset

This delay is necessary for eMMC reset to working properly.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Joe Zhou <shjzhou@marvell.com>
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
This commit is contained in:
Joe Zhou 2016-06-22 23:09:11 +08:00 committed by Feng Tian
parent 91ff0f0591
commit 9252d67ab3
1 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,8 @@ EmmcReset (
SdMmcCmdBlk.ResponseType = 0; SdMmcCmdBlk.ResponseType = 0;
SdMmcCmdBlk.CommandArgument = 0; SdMmcCmdBlk.CommandArgument = 0;
gBS->Stall (1000);
Status = SdMmcPassThruPassThru (PassThru, Slot, &Packet, NULL); Status = SdMmcPassThruPassThru (PassThru, Slot, &Packet, NULL);
return Status; return Status;