mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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:
parent
91ff0f0591
commit
9252d67ab3
@ -51,6 +51,8 @@ EmmcReset (
|
||||
SdMmcCmdBlk.ResponseType = 0;
|
||||
SdMmcCmdBlk.CommandArgument = 0;
|
||||
|
||||
gBS->Stall (1000);
|
||||
|
||||
Status = SdMmcPassThruPassThru (PassThru, Slot, &Packet, NULL);
|
||||
|
||||
return Status;
|
||||
|
Loading…
x
Reference in New Issue
Block a user