/** @file\r
*\r
-* Copyright (c) 2011-2014, ARM Limited. All rights reserved.\r
+* Copyright (c) 2011-2015, ARM Limited. All rights reserved.\r
*\r
* This program and the accompanying materials\r
* are licensed and made available under the terms and conditions of the BSD License\r
*\r
**/\r
\r
-#include <Library/TimerLib.h>\r
-\r
#include "Mmc.h"\r
\r
typedef union {\r
\r
if (!EFI_ERROR (Status)) {\r
if (!MmcHostInstance->CardInfo.OCRData.PowerUp) {\r
- MicroSecondDelay (1);\r
+ gBS->Stall (1);\r
Timeout--;\r
} else {\r
if ((MmcHostInstance->CardInfo.CardType == SD_CARD_2) && (MmcHostInstance->CardInfo.OCRData.AccessMode & BIT1)) {\r
break; // The MMC/SD card is ready. Continue the Identification Mode\r
}\r
} else {\r
- MicroSecondDelay (1);\r
+ gBS->Stall (1);\r
Timeout--;\r
}\r
}\r