X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EmbeddedPkg%2FUniversal%2FMmcDxe%2FMmcIdentification.c;fp=EmbeddedPkg%2FUniversal%2FMmcDxe%2FMmcIdentification.c;h=2d8038ffe02f14ff66e0fb0d2958279eda2ca2ff;hp=08cc405ed8f1d633603462cc29e8238808a66179;hb=eff98cf9daf7353274f958bea570f0da419a09a5;hpb=2ff41466ef6b5cf05d6c9e2ce7cd0d4ec77a47db 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 - #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--; } }