From c26490ea29f47ca059183d9447ac23b3b463d9d4 Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Tue, 30 Jul 2024 10:01:32 -0600 Subject: [PATCH] EmbeddedPkg: Fix some spelling mistakes found by cspell When cspell is installed (via `npm install cspell`), CI checks for spelling mistakes. There are currently a very large number of them: some are genuine mistakes while others are words or acryonyms that cspell doesn't know. Fix a few of the misspellings in EmbeddedPkg. Signed-off-by: Rebecca Cran --- EmbeddedPkg/EmbeddedPkg.dsc | 2 +- EmbeddedPkg/GdbStub/SerialIo.c | 2 +- EmbeddedPkg/Include/libfdt.h | 2 +- .../Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/EmbeddedPkg/EmbeddedPkg.dsc b/EmbeddedPkg/EmbeddedPkg.dsc index e89bfae72c..67034dd7dc 100644 --- a/EmbeddedPkg/EmbeddedPkg.dsc +++ b/EmbeddedPkg/EmbeddedPkg.dsc @@ -171,7 +171,7 @@ gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0 # -# Optinal feature to help prevent EFI memory map fragments +# Optional feature to help prevent EFI memory map fragments # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob # Values are in EFI Pages (4K). DXE Core will make sure that # at least this much of each type of memory can be allocated diff --git a/EmbeddedPkg/GdbStub/SerialIo.c b/EmbeddedPkg/GdbStub/SerialIo.c index 98ea611e8b..fdc9e2d75f 100644 --- a/EmbeddedPkg/GdbStub/SerialIo.c +++ b/EmbeddedPkg/GdbStub/SerialIo.c @@ -457,7 +457,7 @@ GDB_SERIAL_DEV gdbSerialDevTemplate = { 0, // ControlMask 0, // Timeout 0, // BaudRate - 1, // RceiveFifoDepth + 1, // ReceiveFifoDepth 0, // DataBits 0, // Parity 0 // StopBits diff --git a/EmbeddedPkg/Include/libfdt.h b/EmbeddedPkg/Include/libfdt.h index 6105b9c075..a2db686629 100644 --- a/EmbeddedPkg/Include/libfdt.h +++ b/EmbeddedPkg/Include/libfdt.h @@ -2311,7 +2311,7 @@ fdt_del_node ( * returns: * 0, on success * -FDT_ERR_NOSPACE, there's not enough space in the base device tree - * -FDT_ERR_NOTFOUND, the overlay points to some inexistant nodes or + * -FDT_ERR_NOTFOUND, the overlay points to some nonexistant nodes or * properties in the base DT * -FDT_ERR_BADPHANDLE, * -FDT_ERR_BADOVERLAY, diff --git a/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c b/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c index ce288d719f..f066b1f7e1 100644 --- a/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c +++ b/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c @@ -2,7 +2,7 @@ * * Implement virtual EFI RealTimeClock runtime services. * - * Coypright (c) 2019, Pete Batard + * Copyright (c) 2019, Pete Batard * Copyright (c) 2018, Andrei Warkentin * Copyright (c) 2011-2021, ARM Ltd. All rights reserved. * Copyright (c) 2008-2010, Apple Inc. All rights reserved.