Provides some data structure definitions used by the SD/MMC host controller driver.\r
\r
Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved.\r
-Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.<BR>\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
BOOLEAN MediaPresent;\r
BOOLEAN Initialized;\r
SD_MMC_CARD_TYPE CardType;\r
+ UINT64 CurrentFreq;\r
EDKII_SD_MMC_OPERATING_PARAMETERS OperatingParameters;\r
} SD_MMC_HC_SLOT;\r
\r
\r
#define SD_MMC_HC_TRB_SIG SIGNATURE_32 ('T', 'R', 'B', 'T')\r
\r
+#define SD_MMC_TRB_RETRIES 5\r
+\r
//\r
// TRB (Transfer Request Block) contains information for the cmd request.\r
//\r
\r
EFI_EVENT Event;\r
BOOLEAN Started;\r
+ BOOLEAN CommandComplete;\r
UINT64 Timeout;\r
+ UINT32 Retries;\r
+\r
+ BOOLEAN PioModeTransferCompleted;\r
+ UINT32 PioBlockIndex;\r
\r
SD_MMC_HC_ADMA_32_DESC_LINE *Adma32Desc;\r
SD_MMC_HC_ADMA_64_V3_DESC_LINE *Adma64V3Desc;\r