diff options
author | Joe Zhou <shjzhou@marvell.com> | 2016-06-22 23:09:11 +0800 |
---|---|---|
committer | Feng Tian <feng.tian@intel.com> | 2016-06-24 11:28:35 +0800 |
commit | 9252d67ab3007601ddf983d1278cbe0e4a647f34 (patch) | |
tree | 961ed1ff529c8c06f37df4050ddd654144e86af0 /MdeModulePkg | |
parent | 91ff0f05914a4ee153c0a6241a2f8e93f9316325 (diff) | |
download | edk2-9252d67ab3007601ddf983d1278cbe0e4a647f34.tar.gz edk2-9252d67ab3007601ddf983d1278cbe0e4a647f34.tar.bz2 edk2-9252d67ab3007601ddf983d1278cbe0e4a647f34.zip |
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>
Diffstat (limited to 'MdeModulePkg')
-rwxr-xr-x | MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c b/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c index ee5314510b..61d351726d 100755 --- a/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c +++ b/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/EmmcDevice.c @@ -51,6 +51,8 @@ EmmcReset ( SdMmcCmdBlk.ResponseType = 0;
SdMmcCmdBlk.CommandArgument = 0;
+ gBS->Stall (1000);
+
Status = SdMmcPassThruPassThru (PassThru, Slot, &Packet, NULL);
return Status;
|