/** @file\r
*\r
-* Copyright (c) 2011, ARM Limited. All rights reserved.\r
+* Copyright (c) 2011-2012, 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
DEBUG ((EFI_D_ERROR, "Not a SD2.0 Card\n"));\r
}\r
\r
- // We need to wait for the MMC or SD card is ready => (gCardInfo.OCRData.Busy == 1)\r
+ // We need to wait for the MMC or SD card is ready => (gCardInfo.OCRData.PowerUp == 1)\r
Timeout = MAX_RETRY_COUNT;\r
while (Timeout > 0) {\r
// SD Card or MMC Card ? CMD55 indicates to the card that the next command is an application specific command\r
}\r
\r
if (!EFI_ERROR(Status)) {\r
- if (MmcHostInstance->CardInfo.OCRData.Busy == 0) {\r
+ if (!MmcHostInstance->CardInfo.OCRData.PowerUp) {\r
MicroSecondDelay(1);\r
Timeout--;\r
} else {\r