Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Kelly Steele <kelly.steele@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
)\r
{\r
EFI_STATUS Status;\r
- EFI_SD_HOST_IO_PROTOCOL *SDHostIo;\r
UINT8 Data;\r
UINT32 TimeOut;\r
\r
- SDHostIo = CardData->SDHostIo;\r
-\r
//\r
//Write register\r
//\r
)\r
{\r
\r
- EFI_STATUS Status;\r
CARD_DATA *CardData;\r
\r
CardData = CARD_DATA_FROM_THIS(This);\r
\r
if (CardData->NeedFlush) {\r
CardData->NeedFlush = FALSE;\r
- Status = FlushCache (CardData);\r
+ FlushCache (CardData);\r
}\r
\r
return EFI_SUCCESS;\r
)\r
{\r
EFI_STATUS Status;\r
- EFI_SD_HOST_IO_PROTOCOL *SDHostIo;\r
UINT8 Retry;\r
UINT32 TimeOut;\r
\r
Status = EFI_SUCCESS;\r
- SDHostIo = CardData->SDHostIo;\r
//\r
//First try the high voltage, then if supported choose the low voltage\r
//\r