summaryrefslogtreecommitdiffstats
path: root/src/commonlib
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2023-09-03 21:38:29 -0600
committerElyes Haouas <ehaouas@noos.fr>2023-09-08 00:53:57 +0000
commit74f18777a2e6919172a4214c3195bfcc48f48407 (patch)
tree792af40f72ed0f4287239a707acce3edbe89c9d2 /src/commonlib
parentcef239675b46ffec6c3c4a99875329f0ee92a6b5 (diff)
downloadcoreboot-74f18777a2e6919172a4214c3195bfcc48f48407.tar.gz
coreboot-74f18777a2e6919172a4214c3195bfcc48f48407.tar.bz2
coreboot-74f18777a2e6919172a4214c3195bfcc48f48407.zip
arch to drivers/intel: Fix misspellings & capitalization issues
Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: Ic52f01d1d5d86334e0fd639b968b5eed43a35f1d Reviewed-on: https://review.coreboot.org/c/coreboot/+/77633 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/commonlib')
-rw-r--r--src/commonlib/bsd/lz4_wrapper.c2
-rw-r--r--src/commonlib/include/commonlib/coreboot_tables.h2
-rw-r--r--src/commonlib/include/commonlib/loglevel.h2
-rw-r--r--src/commonlib/include/commonlib/timestamp_serialized.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/commonlib/bsd/lz4_wrapper.c b/src/commonlib/bsd/lz4_wrapper.c
index 73a3571470cc..efe246bd0271 100644
--- a/src/commonlib/bsd/lz4_wrapper.c
+++ b/src/commonlib/bsd/lz4_wrapper.c
@@ -8,7 +8,7 @@
/* LZ4 comes with its own supposedly portable memory access functions, but they
* seem to be very inefficient in practice (at least on ARM64). Since coreboot
- * knows about endinaness and allows some basic assumptions (such as unaligned
+ * knows about endianness and allows some basic assumptions (such as unaligned
* access support), we can easily write the ones we need ourselves. */
static uint16_t LZ4_readLE16(const void *src)
{
diff --git a/src/commonlib/include/commonlib/coreboot_tables.h b/src/commonlib/include/commonlib/coreboot_tables.h
index e3e9468b1cca..d77c5eb26fa8 100644
--- a/src/commonlib/include/commonlib/coreboot_tables.h
+++ b/src/commonlib/include/commonlib/coreboot_tables.h
@@ -528,7 +528,7 @@ struct cmos_checksum {
struct lb_smmstorev2 {
uint32_t tag;
uint32_t size;
- uint32_t num_blocks; /* Number of writeable blocks in SMM */
+ uint32_t num_blocks; /* Number of writable blocks in SMM */
uint32_t block_size; /* Size of a block in byte. Default: 64 KiB */
uint32_t mmap_addr; /* MMIO address of the store for read only access */
uint32_t com_buffer; /* Physical address of the communication buffer */
diff --git a/src/commonlib/include/commonlib/loglevel.h b/src/commonlib/include/commonlib/loglevel.h
index 34d982417921..79fbcfc6d92b 100644
--- a/src/commonlib/include/commonlib/loglevel.h
+++ b/src/commonlib/include/commonlib/loglevel.h
@@ -182,7 +182,7 @@ static const char bios_log_prefix[BIOS_LOG_PREFIX_MAX_LEVEL + 1][5] = {
* When printing to terminals supporting ANSI escape sequences, the following
* escape sequences can be printed to highlight the respective log levels
* according to the BIOS_LOG_ESCAPE_PATTERN printf() pattern. At the end of a
- * line, highlighting should be reset with the BIOS_LOG_ESCAPE_RESET seqence.
+ * line, highlighting should be reset with the BIOS_LOG_ESCAPE_RESET sequence.
*
* The escape sequences used here set flags with the following meanings:
* 1 = bold, 4 = underlined, 5 = blinking, 7 = inverted
diff --git a/src/commonlib/include/commonlib/timestamp_serialized.h b/src/commonlib/include/commonlib/timestamp_serialized.h
index d0ecd8f1c0bf..e4439cd540c4 100644
--- a/src/commonlib/include/commonlib/timestamp_serialized.h
+++ b/src/commonlib/include/commonlib/timestamp_serialized.h
@@ -295,7 +295,7 @@ static const struct timestamp_id_to_name {
/* Intel ME related timestamps */
TS_NAME_DEF(TS_ME_INFORM_DRAM_START, TS_ME_INFORM_DRAM_END,
- "waiting for ME acknowledgement of raminit"),
+ "waiting for ME acknowledgment of raminit"),
TS_NAME_DEF(TS_ME_INFORM_DRAM_END, 0, "finished waiting for ME response"),
TS_NAME_DEF(TS_ME_END_OF_POST_START, TS_ME_END_OF_POST_END, "before sending EOP to ME"),
TS_NAME_DEF(TS_ME_END_OF_POST_END, 0, "after sending EOP to ME"),