]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c
MdeModulePkg/Bus/Sd: Fix various typos
[mirror_edk2.git] / MdeModulePkg / Bus / Sd / EmmcBlockIoPei / EmmcHci.c
index 679646eeb27706bdb9627aa9b3f3873cca201fb7..287a10266a6af7f97ee27b27be9d85db1e7b308a 100644 (file)
@@ -1290,7 +1290,7 @@ EmmcPeimExecTrb (
   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
@@ -2017,7 +2017,7 @@ EmmcPeimGetExtCsd (
   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
@@ -2273,7 +2273,7 @@ EmmcPeimSendTuningBlk (
 }\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
@@ -2509,7 +2509,7 @@ EmmcPeimSwitchToHighSpeed (
     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
@@ -2658,7 +2658,7 @@ EmmcPeimSwitchToHS400 (
     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
@@ -2752,7 +2752,7 @@ EmmcPeimSetBusMode (
     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