BlkCount = 0;\r
if (Trb->Mode != EmmcNoData) {\r
//\r
- // Calcuate Block Count.\r
+ // Calculate Block Count.\r
//\r
BlkCount = (UINT16)(Trb->DataLen / Trb->BlockSize);\r
}\r
Refer to EMMC Electrical Standard Spec 5.1 Section 6.10.4 for details.\r
\r
@param[in] Slot The slot number of the Emmc card to send the command to.\r
- @param[in] Access The access mode of SWTICH command.\r
+ @param[in] Access The access mode of SWITCH command.\r
@param[in] Index The offset of the field to be access.\r
@param[in] Value The value to be set to the specified field of EXT_CSD register.\r
@param[in] CmdSet The value of CmdSet field of EXT_CSD register.\r
}\r
\r
/**\r
- Tunning the clock to get HS200 optimal sampling point.\r
+ Tuning the clock to get HS200 optimal sampling point.\r
\r
Command SEND_TUNING_BLOCK may be sent up to 40 times until the host finishes the\r
tuning procedure.\r
return Status;\r
}\r
//\r
- // Set to Hight Speed timing\r
+ // Set to High Speed timing\r
//\r
HostCtrl1 = BIT2;\r
Status = EmmcPeimHcOrMmio (Slot->EmmcHcBase + EMMC_HC_HOST_CTRL1, sizeof (HostCtrl1), &HostCtrl1);\r
return Status;\r
}\r
//\r
- // Set to Hight Speed timing and set the clock frequency to a value less than 52MHz.\r
+ // Set to High Speed timing and set the clock frequency to a value less than 52MHz.\r
//\r
HsTiming = 1;\r
Status = EmmcPeimSwitchClockFreq (Slot, Rca, HsTiming, 52);\r
BusWidth = 4;\r
}\r
//\r
- // Get Deivce_Type from EXT_CSD register.\r
+ // Get Device_Type from EXT_CSD register.\r
//\r
Status = EmmcPeimGetExtCsd (Slot, &Slot->ExtCsd);\r
if (EFI_ERROR (Status)) {\r