diff options
author | Feng Tian <feng.tian@intel.com> | 2016-04-12 14:08:49 +0800 |
---|---|---|
committer | Feng Tian <feng.tian@intel.com> | 2016-04-21 16:08:11 +0800 |
commit | 2a8b78cfd5f9e0f7f7a8c7111813054fb9040554 (patch) | |
tree | 045160a73ce4a3799a664e064a095f1c868a4015 /MdeModulePkg/Bus/Pci | |
parent | 83ceccabd3c2adc517ed27f59282737efe4e8bd0 (diff) | |
download | edk2-platforms-2a8b78cfd5f9e0f7f7a8c7111813054fb9040554.tar.xz |
MdeModulePkg/Sd: wait 1ms before check DATA line in voltage switch proc
According to SD Host Controller 3.0 spec figure 3-10, we have to wait
1ms before checking DAT[3:0] in voltage switch proc
Cc: Hao Wu <hao.a.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Diffstat (limited to 'MdeModulePkg/Bus/Pci')
-rw-r--r-- | MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdDevice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdDevice.c b/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdDevice.c index d05eb9e9e6..b2a08572fe 100644 --- a/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdDevice.c +++ b/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdDevice.c @@ -1123,7 +1123,7 @@ SdCardIdentification ( SdMmcHcInitClockFreq (PciIo, Slot, Private->Capability[Slot]);
- gBS->Stall (1);
+ gBS->Stall (1000);
SdMmcHcRwMmio (PciIo, Slot, SD_MMC_HC_PRESENT_STATE, TRUE, sizeof (PresentState), &PresentState);
if (((PresentState >> 20) & 0xF) != 0xF) {
|