diff options
Diffstat (limited to 'EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c')
-rw-r--r-- | EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c b/EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c index 08cc405ed8..2d8038ffe0 100644 --- a/EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c +++ b/EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c @@ -1,6 +1,6 @@ /** @file
*
-* Copyright (c) 2011-2014, ARM Limited. All rights reserved.
+* Copyright (c) 2011-2015, ARM Limited. All rights reserved.
*
* This program and the accompanying materials
* are licensed and made available under the terms and conditions of the BSD License
@@ -12,8 +12,6 @@ *
**/
-#include <Library/TimerLib.h>
-
#include "Mmc.h"
typedef union {
@@ -322,7 +320,7 @@ MmcIdentificationMode ( if (!EFI_ERROR (Status)) {
if (!MmcHostInstance->CardInfo.OCRData.PowerUp) {
- MicroSecondDelay (1);
+ gBS->Stall (1);
Timeout--;
} else {
if ((MmcHostInstance->CardInfo.CardType == SD_CARD_2) && (MmcHostInstance->CardInfo.OCRData.AccessMode & BIT1)) {
@@ -332,7 +330,7 @@ MmcIdentificationMode ( break; // The MMC/SD card is ready. Continue the Identification Mode
}
} else {
- MicroSecondDelay (1);
+ gBS->Stall (1);
Timeout--;
}
}
|