summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Coeur <coeur@gmx.fr>2020-02-07 02:08:14 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commitaad15888d6d6193f5818eadfa29c2f3c28036cc3 (patch)
treefaaad9083c13d962618e1a77ae965726cd5853c1
parent493dde944d77e768d3d792405638a27acf30f261 (diff)
downloadedk2-aad15888d6d6193f5818eadfa29c2f3c28036cc3.tar.gz
edk2-aad15888d6d6193f5818eadfa29c2f3c28036cc3.tar.bz2
edk2-aad15888d6d6193f5818eadfa29c2f3c28036cc3.zip
PcAtChipsetPkg: Fix few typos
Correctly write 'serial', remove duplicated 'the'. Cc: Ray Ni <ray.ni@intel.com> Signed-off-by: Antoine Coeur <coeur@gmx.fr> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Acked-by: Liming Gao <liming.gao@intel.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-62-philmd@redhat.com>
-rw-r--r--PcAtChipsetPkg/Library/AcpiTimerLib/AcpiTimerLib.c2
-rw-r--r--PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/PcAtChipsetPkg/Library/AcpiTimerLib/AcpiTimerLib.c b/PcAtChipsetPkg/Library/AcpiTimerLib/AcpiTimerLib.c
index 7dc11014a5..0a49093dbf 100644
--- a/PcAtChipsetPkg/Library/AcpiTimerLib/AcpiTimerLib.c
+++ b/PcAtChipsetPkg/Library/AcpiTimerLib/AcpiTimerLib.c
@@ -59,7 +59,7 @@ AcpiTimerLibConstructor (
//
// If the register offset to the BAR for the ACPI I/O Port Base Address is 0x0000, then
- // no PCI register programming is required to enable access to the the ACPI registers
+ // no PCI register programming is required to enable access to the ACPI registers
// specified by PcdAcpiIoPortBaseAddress
//
if (PcdGet16 (PcdAcpiIoPciBarRegisterOffset) == 0x0000) {
diff --git a/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c b/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c
index 25c4cefc13..aa5657a7fd 100644
--- a/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c
+++ b/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c
@@ -58,7 +58,7 @@ UINT8 gBreakSet = 0;
If the serial device could not be initialized, then return RETURN_DEVICE_ERROR.
@retval RETURN_SUCCESS The serial device was initialized.
- @retval RETURN_DEVICE_ERROR The serail device could not be initialized.
+ @retval RETURN_DEVICE_ERROR The serial device could not be initialized.
**/
RETURN_STATUS
@@ -139,7 +139,7 @@ SerialPortWrite (
while ((NumberOfBytes--) != 0) {
//
- // Wait for the serail port to be ready.
+ // Wait for the serial port to be ready.
//
do {
Data = IoRead8 ((UINT16) gUartBase + LSR_OFFSET);
@@ -180,7 +180,7 @@ SerialPortRead (
while ((NumberOfBytes--) != 0) {
//
- // Wait for the serail port to be ready.
+ // Wait for the serial port to be ready.
//
do {
Data = IoRead8 ((UINT16) gUartBase + LSR_OFFSET);