/** @file\r
\r
- Copyright (c) 2013-2014, ARM Ltd. All rights reserved.<BR>\r
+ Copyright (c) 2013-2015, ARM Ltd. All rights reserved.<BR>\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
#include <Library/DebugLib.h>\r
#include <Library/UefiBootServicesTableLib.h>\r
#include <Library/UefiDriverEntryPoint.h>\r
#/** @file\r
#\r
-# Copyright (c) 2013-2014, ARM Ltd. All rights reserved.<BR>\r
+# Copyright (c) 2013-2015, ARM Ltd. All rights reserved.<BR>\r
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
DebugLib\r
IoLib\r
MemoryAllocationLib\r
- TimerLib\r
UefiBootServicesTableLib\r
UefiDriverEntryPoint\r
\r
#/** @file\r
# INF file for the LAN9118 Network Controller Driver.\r
#\r
-# Copyright (c) 2012-2014, ARM Limited. All rights reserved.\r
+# Copyright (c) 2012-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
BaseMemoryLib\r
ArmLib\r
IoLib\r
- TimerLib\r
DevicePathLib\r
\r
[Protocols]\r
UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf\r
\r
- TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
-\r
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
\r
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r
EmbeddedPkg/SerialDxe/SerialDxe.inf\r
EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf\r
- EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r
+ EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf {\r
+ <LibraryClasses>\r
+ TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
+ }\r
\r
EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf\r
\r
# FDT installation\r
- EmbeddedPkg/Drivers/FdtPlatformDxe/FdtPlatformDxe.inf\r
-\r
- EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf\r
+ EmbeddedPkg/Drivers/FdtPlatformDxe/FdtPlatformDxe.inf {\r
+ <LibraryClasses>\r
+ # It depends on BdsLib that depends on TimerLib\r
+ TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
+ }\r
+\r
+ EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf {\r
+ <LibraryClasses>\r
+ # It depends on BdsLib that depends on TimerLib\r
+ TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
+ }\r
EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf\r
EmbeddedPkg/Drivers/AndroidFastbootTransportTcpDxe/FastbootTransportTcpDxe.inf\r
\r
/** @file\r
Main Header file for the MMC DXE driver\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
#include <Library/UefiLib.h>\r
#include <Library/DebugLib.h>\r
+#include <Library/UefiBootServicesTableLib.h>\r
\r
#define MMC_TRACE(txt) DEBUG((EFI_D_BLKIO, "MMC: " txt "\n"))\r
\r
/** @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
#include <Library/BaseMemoryLib.h>\r
-#include <Library/TimerLib.h>\r
\r
#include "Mmc.h"\r
\r
break; // Prevents delay once finished\r
}\r
}\r
- NanoSecondDelay (100);\r
+ gBS->Stall (1);\r
}\r
\r
Status = MmcNotifyState (MmcHostInstance, MmcTransferState);\r
#/** @file\r
# Build file for the MMC DXE driver\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
UefiLib\r
UefiDriverEntryPoint\r
BaseMemoryLib\r
- TimerLib\r
\r
[Protocols]\r
gEfiDiskIoProtocolGuid\r
/** @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