From nobody Sat Feb 7 08:13:56 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+51622+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+51622+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1575389845; cv=none; d=zohomail.com; s=zohoarc; b=KT7lbT/AkmNSlxIAUEsX+SBzjI3Arae1z8hsDsJCv+E6dH7cYHvB3s8GX04n6GPBF+Nn+iwcjF5/jr1q6i0YYGCEv+4FIkefXkvGUVmpiD/MY0Hm4d/U8LnPZKA7hGlK035lIcE2joA5lTotCPSvp1GBRkdeS5ZCHVYvBB7BB1Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1575389845; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=VzYfzBcObsXJAYyDIUrVq6P2OgBF11bgZB9MLPz3NJc=; b=cC1SCRd1yKWiQVtrLBVgsqkRIScu/iJrJgLuQqO4F2dAR1ZToFABy7Ak7LX8ivw14kvrd/Gx8byY3/ksbPRAxTC1Sq8/SlS9ZJmmE5F/Y/CKAIa1M+k0QisRai06KzuXR3l5CDbMdrycmkKo8DDOw0Aop9SdoAH0kcKyP+iC594= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+51622+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1575389845202819.2259417966346; Tue, 3 Dec 2019 08:17:25 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id aaaaYY1788612xaaaaaaaaaa; Tue, 03 Dec 2019 08:17:24 -0800 X-Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.61]) by mx.groups.io with SMTP id smtpd.web10.8235.1575389843567769441 for ; Tue, 03 Dec 2019 08:17:23 -0800 X-Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-94-JC4pFTi_Oxe0BccnRWBchw-1; Tue, 03 Dec 2019 11:17:20 -0500 X-Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 94837800EB8; Tue, 3 Dec 2019 16:17:19 +0000 (UTC) X-Received: from x1w.redhat.com (ovpn-204-86.brq.redhat.com [10.40.204.86]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E53F160C80; Tue, 3 Dec 2019 16:17:14 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Antoine Coeur , Jian J Wang , Hao A Wu , Ray Ni , Philippe Mathieu-Daude Subject: [edk2-devel] [PATCH 17/79] MdeModulePkg/Bus/Sd: Fix various typos Date: Tue, 3 Dec 2019 17:15:00 +0100 Message-Id: <20191203161602.15969-18-philmd@redhat.com> In-Reply-To: <20191203161602.15969-1-philmd@redhat.com> References: <20191203161602.15969-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: JC4pFTi_Oxe0BccnRWBchw-1 X-Mimecast-Spam-Score: 0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,philmd@redhat.com X-Gm-Message-State: aaaaaaaaaaaaaaaaaaaaaaaax1787277AA= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1575389844; bh=sj1Ma/UwMJ88xropPWZjR/ihmSaCyp0T6H9HFf6tuNk=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=lIKENgeXQSobNqmSXD0QIeiGNRbREf0X5P1AQPwohcrVfiIxNHeLah5M2CcQlPZB8Ab ftlvA+wEJFeZQvas+OI/aHxIpMavNhZGPIBDSFzyHdeunQgAyeeJespoo172Etet28ILG 6n+MPXYoPeUnxMurmItlwSynpqLdkl0oNH0= X-ZohoMail-DKIM: pass (identity @groups.io) From: Antoine Coeur Fix various typos in comments and documentation. Cc: Jian J Wang Cc: Hao A Wu Cc: Ray Ni Reviewed-by: Philippe Mathieu-Daude Signed-off-by: Philippe Mathieu-Daude --- MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.h | 2 +- MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlockIo.h | 6 +++--- MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.h | 2 +- MdeModulePkg/Bus/Sd/SdDxe/SdBlockIo.h | 6 +++--- MdeModulePkg/Bus/Sd/SdDxe/SdDxe.h | 2 +- MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHcMem.c | 2 +- MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c | 12 ++++++------ MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlockIo.c | 12 ++++++------ MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.c | 2 +- MdeModulePkg/Bus/Sd/SdBlockIoPei/SdHcMem.c | 2 +- MdeModulePkg/Bus/Sd/SdBlockIoPei/SdHci.c | 6 +++--- MdeModulePkg/Bus/Sd/SdDxe/SdBlockIo.c | 10 +++++----- MdeModulePkg/Bus/Sd/SdDxe/SdDxe.c | 2 +- 13 files changed, 33 insertions(+), 33 deletions(-) diff --git a/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.h b/MdeModulePkg/Bu= s/Sd/EmmcBlockIoPei/EmmcHci.h index c0e461335f43..4e3e51d14403 100644 --- a/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.h +++ b/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.h @@ -244,7 +244,7 @@ EmmcPeimHcInitHost ( Refer to EMMC Electrical Standard Spec 5.1 Section 6.10.4 for details. =20 @param[in] Slot The slot number of the Emmc card to send the c= ommand to. - @param[in] Access The access mode of SWTICH command. + @param[in] Access The access mode of SWITCH command. @param[in] Index The offset of the field to be access. @param[in] Value The value to be set to the specified field of = EXT_CSD register. @param[in] CmdSet The value of CmdSet field of EXT_CSD register. diff --git a/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlockIo.h b/MdeModulePkg/Bus/S= d/EmmcDxe/EmmcBlockIo.h index 86957a42daea..62e70ae912b0 100644 --- a/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlockIo.h +++ b/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlockIo.h @@ -43,7 +43,7 @@ EmmcReset ( @retval EFI_SUCCESS The data was read correctly from the devic= e. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the read. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHANGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The read request contains LBAs that are no= t valid, or the buffer is not on proper alignment. @@ -73,7 +73,7 @@ EmmcReadBlocks ( @retval EFI_WRITE_PROTECTED The device can not be written to. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the write. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The write request contains LBAs that are n= ot valid, or the buffer is not on proper alignment. @@ -176,7 +176,7 @@ EmmcReadBlocksEx ( @retval EFI_WRITE_PROTECTED The device can not be written to. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the write. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The write request contains LBAs that are n= ot valid, or the buffer is not on proper alignment. diff --git a/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.h b/MdeModulePkg/Bus/Sd/Em= mcDxe/EmmcDxe.h index d286d97f4213..5ecce41dee11 100644 --- a/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.h +++ b/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.h @@ -235,7 +235,7 @@ EmmcDxeDriverBindingSupported ( @retval EFI_SUCCESS The device was started. @retval EFI_DEVICE_ERROR The device could not be started due to = a device error.Currently not implemented. @retval EFI_OUT_OF_RESOURCES The request could not be completed due = to a lack of resources. - @retval Others The driver failded to start the device. + @retval Others The driver failed to start the device. =20 **/ EFI_STATUS diff --git a/MdeModulePkg/Bus/Sd/SdDxe/SdBlockIo.h b/MdeModulePkg/Bus/Sd/Sd= Dxe/SdBlockIo.h index 769b47106400..b6b4c45f1f3d 100644 --- a/MdeModulePkg/Bus/Sd/SdDxe/SdBlockIo.h +++ b/MdeModulePkg/Bus/Sd/SdDxe/SdBlockIo.h @@ -43,7 +43,7 @@ SdReset ( @retval EFI_SUCCESS The data was read correctly from the devic= e. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the read. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHANGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The read request contains LBAs that are no= t valid, or the buffer is not on proper alignment. @@ -73,7 +73,7 @@ SdReadBlocks ( @retval EFI_WRITE_PROTECTED The device can not be written to. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the write. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The write request contains LBAs that are n= ot valid, or the buffer is not on proper alignment. @@ -176,7 +176,7 @@ SdReadBlocksEx ( @retval EFI_WRITE_PROTECTED The device can not be written to. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the write. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The write request contains LBAs that are n= ot valid, or the buffer is not on proper alignment. diff --git a/MdeModulePkg/Bus/Sd/SdDxe/SdDxe.h b/MdeModulePkg/Bus/Sd/SdDxe/= SdDxe.h index d23f5a07a511..ff740a52183b 100644 --- a/MdeModulePkg/Bus/Sd/SdDxe/SdDxe.h +++ b/MdeModulePkg/Bus/Sd/SdDxe/SdDxe.h @@ -210,7 +210,7 @@ SdDxeDriverBindingSupported ( @retval EFI_SUCCESS The device was started. @retval EFI_DEVICE_ERROR The device could not be started due to = a device error.Currently not implemented. @retval EFI_OUT_OF_RESOURCES The request could not be completed due = to a lack of resources. - @retval Others The driver failded to start the device. + @retval Others The driver failed to start the device. =20 **/ EFI_STATUS diff --git a/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHcMem.c b/MdeModulePkg/= Bus/Sd/EmmcBlockIoPei/EmmcHcMem.c index c60ac30421e6..19a0afcb6d2c 100644 --- a/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHcMem.c +++ b/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHcMem.c @@ -128,7 +128,7 @@ EmmcPeimAllocMemFromBlock ( // // If current bit is zero, the corresponding memory unit is // available, otherwise we need to restart our searching. - // Available counts the consective number of zero bit. + // Available counts the consecutive number of zero bit. // if (!EMMC_PEIM_MEM_BIT_IS_SET (Block->Bits[Byte], Bit)) { Available++; diff --git a/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c b/MdeModulePkg/Bu= s/Sd/EmmcBlockIoPei/EmmcHci.c index 679646eeb277..287a10266a6a 100644 --- a/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c +++ b/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c @@ -1290,7 +1290,7 @@ EmmcPeimExecTrb ( BlkCount =3D 0; if (Trb->Mode !=3D EmmcNoData) { // - // Calcuate Block Count. + // Calculate Block Count. // BlkCount =3D (UINT16)(Trb->DataLen / Trb->BlockSize); } @@ -2017,7 +2017,7 @@ EmmcPeimGetExtCsd ( Refer to EMMC Electrical Standard Spec 5.1 Section 6.10.4 for details. =20 @param[in] Slot The slot number of the Emmc card to send the c= ommand to. - @param[in] Access The access mode of SWTICH command. + @param[in] Access The access mode of SWITCH command. @param[in] Index The offset of the field to be access. @param[in] Value The value to be set to the specified field of = EXT_CSD register. @param[in] CmdSet The value of CmdSet field of EXT_CSD register. @@ -2273,7 +2273,7 @@ EmmcPeimSendTuningBlk ( } =20 /** - Tunning the clock to get HS200 optimal sampling point. + Tuning the clock to get HS200 optimal sampling point. =20 Command SEND_TUNING_BLOCK may be sent up to 40 times until the host fini= shes the tuning procedure. @@ -2509,7 +2509,7 @@ EmmcPeimSwitchToHighSpeed ( return Status; } // - // Set to Hight Speed timing + // Set to High Speed timing // HostCtrl1 =3D BIT2; Status =3D EmmcPeimHcOrMmio (Slot->EmmcHcBase + EMMC_HC_HOST_CTRL1, size= of (HostCtrl1), &HostCtrl1); @@ -2658,7 +2658,7 @@ EmmcPeimSwitchToHS400 ( return Status; } // - // Set to Hight Speed timing and set the clock frequency to a value less= than 52MHz. + // Set to High Speed timing and set the clock frequency to a value less = than 52MHz. // HsTiming =3D 1; Status =3D EmmcPeimSwitchClockFreq (Slot, Rca, HsTiming, 52); @@ -2752,7 +2752,7 @@ EmmcPeimSetBusMode ( BusWidth =3D 4; } // - // Get Deivce_Type from EXT_CSD register. + // Get Device_Type from EXT_CSD register. // Status =3D EmmcPeimGetExtCsd (Slot, &Slot->ExtCsd); if (EFI_ERROR (Status)) { diff --git a/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlockIo.c b/MdeModulePkg/Bus/S= d/EmmcDxe/EmmcBlockIo.c index 1b247af57622..afdc0a57efc9 100644 --- a/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlockIo.c +++ b/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlockIo.c @@ -9,7 +9,7 @@ #include "EmmcDxe.h" =20 /** - Nonblocking I/O callback funtion when the event is signaled. + Nonblocking I/O callback function when the event is signaled. =20 @param[in] Event The Event this notify function registered to. @param[in] Context Pointer to the context data registered to the @@ -785,7 +785,7 @@ Error: @retval EFI_WRITE_PROTECTED The device can not be read/written to. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the read/write. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The read/write request contains LBAs that = are not valid, or the buffer is not on proper alignment. @@ -954,7 +954,7 @@ EmmcReset ( @retval EFI_SUCCESS The data was read correctly from the devic= e. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the read. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHANGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The read request contains LBAs that are no= t valid, or the buffer is not on proper alignment. @@ -993,7 +993,7 @@ EmmcReadBlocks ( @retval EFI_WRITE_PROTECTED The device can not be written to. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the write. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The write request contains LBAs that are n= ot valid, or the buffer is not on proper alignment. @@ -1151,7 +1151,7 @@ EmmcReadBlocksEx ( @retval EFI_WRITE_PROTECTED The device can not be written to. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the write. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The write request contains LBAs that are n= ot valid, or the buffer is not on proper alignment. @@ -2058,7 +2058,7 @@ EmmcEraseBlocks ( =20 // // If the size to erase is smaller than the erase group size, the whole - // erase operation is performed by writting zeros. + // erase operation is performed by writing zeros. // if (BlockNum < EraseGroupSize) { Status =3D EmmcWriteZeros (Partition, FirstLba, Size); diff --git a/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.c b/MdeModulePkg/Bus/Sd/Em= mcDxe/EmmcDxe.c index e2ae56c5058a..e9095b904c56 100644 --- a/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.c +++ b/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.c @@ -812,7 +812,7 @@ EmmcDxeDriverBindingSupported ( @retval EFI_SUCCESS The device was started. @retval EFI_DEVICE_ERROR The device could not be started due to = a device error.Currently not implemented. @retval EFI_OUT_OF_RESOURCES The request could not be completed due = to a lack of resources. - @retval Others The driver failded to start the device. + @retval Others The driver failed to start the device. =20 **/ EFI_STATUS diff --git a/MdeModulePkg/Bus/Sd/SdBlockIoPei/SdHcMem.c b/MdeModulePkg/Bus/= Sd/SdBlockIoPei/SdHcMem.c index 63a35cc2535c..fb043c19fffd 100644 --- a/MdeModulePkg/Bus/Sd/SdBlockIoPei/SdHcMem.c +++ b/MdeModulePkg/Bus/Sd/SdBlockIoPei/SdHcMem.c @@ -128,7 +128,7 @@ SdPeimAllocMemFromBlock ( // // If current bit is zero, the corresponding memory unit is // available, otherwise we need to restart our searching. - // Available counts the consective number of zero bit. + // Available counts the consecutive number of zero bit. // if (!SD_PEIM_MEM_BIT_IS_SET (Block->Bits[Byte], Bit)) { Available++; diff --git a/MdeModulePkg/Bus/Sd/SdBlockIoPei/SdHci.c b/MdeModulePkg/Bus/Sd= /SdBlockIoPei/SdHci.c index 5efc06af5f8d..756c3063bbff 100644 --- a/MdeModulePkg/Bus/Sd/SdBlockIoPei/SdHci.c +++ b/MdeModulePkg/Bus/Sd/SdBlockIoPei/SdHci.c @@ -1290,7 +1290,7 @@ SdPeimExecTrb ( BlkCount =3D 0; if (Trb->Mode !=3D SdNoData) { // - // Calcuate Block Count. + // Calculate Block Count. // BlkCount =3D (UINT16)(Trb->DataLen / Trb->BlockSize); } @@ -2494,7 +2494,7 @@ SdPeimSendTuningBlk ( } =20 /** - Tunning the sampling point of SDR104 or SDR50 bus speed mode. + Tuning the sampling point of SDR104 or SDR50 bus speed mode. =20 Command SD_SEND_TUNING_BLOCK may be sent up to 40 times until the host f= inishes the tuning procedure. @@ -2702,7 +2702,7 @@ SdPeimSetBusMode ( return EFI_DEVICE_ERROR; } // - // Set to Hight Speed timing + // Set to High Speed timing // if (AccessMode =3D=3D 1) { HostCtrl1 =3D BIT2; diff --git a/MdeModulePkg/Bus/Sd/SdDxe/SdBlockIo.c b/MdeModulePkg/Bus/Sd/Sd= Dxe/SdBlockIo.c index 876efe31e5d3..9f42abe7e2ad 100644 --- a/MdeModulePkg/Bus/Sd/SdDxe/SdBlockIo.c +++ b/MdeModulePkg/Bus/Sd/SdDxe/SdBlockIo.c @@ -9,7 +9,7 @@ #include "SdDxe.h" =20 /** - Nonblocking I/O callback funtion when the event is signaled. + Nonblocking I/O callback function when the event is signaled. =20 @param[in] Event The Event this notify function registered to. @param[in] Context Pointer to the context data registered to the @@ -569,7 +569,7 @@ Error: @retval EFI_WRITE_PROTECTED The device can not be read/written to. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the read/write. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The read/write request contains LBAs that = are not valid, or the buffer is not on proper alignment. @@ -721,7 +721,7 @@ SdReset ( @retval EFI_SUCCESS The data was read correctly from the devic= e. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the read. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHANGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The read request contains LBAs that are no= t valid, or the buffer is not on proper alignment. @@ -760,7 +760,7 @@ SdReadBlocks ( @retval EFI_WRITE_PROTECTED The device can not be written to. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the write. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The write request contains LBAs that are n= ot valid, or the buffer is not on proper alignment. @@ -918,7 +918,7 @@ SdReadBlocksEx ( @retval EFI_WRITE_PROTECTED The device can not be written to. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the write. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The write request contains LBAs that are n= ot valid, or the buffer is not on proper alignment. diff --git a/MdeModulePkg/Bus/Sd/SdDxe/SdDxe.c b/MdeModulePkg/Bus/Sd/SdDxe/= SdDxe.c index e341b4cc1c8d..73bcc181c13f 100644 --- a/MdeModulePkg/Bus/Sd/SdDxe/SdDxe.c +++ b/MdeModulePkg/Bus/Sd/SdDxe/SdDxe.c @@ -563,7 +563,7 @@ SdDxeDriverBindingSupported ( @retval EFI_SUCCESS The device was started. @retval EFI_DEVICE_ERROR The device could not be started due to = a device error.Currently not implemented. @retval EFI_OUT_OF_RESOURCES The request could not be completed due = to a lack of resources. - @retval Others The driver failded to start the device. + @retval Others The driver failed to start the device. =20 **/ EFI_STATUS --=20 2.21.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#51622): https://edk2.groups.io/g/devel/message/51622 Mute This Topic: https://groups.io/mt/65773368/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-