summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2023-09-04 15:37:07 -0600
committerFelix Held <felix-coreboot@felixheld.de>2023-12-13 10:42:30 +0000
commit3e25f85d68d10249473d422c4c19dc30ea55e8b0 (patch)
tree0fb6767dfe8334c455ccd8d3dace51bf02664932 /src/include
parent3933ed5e5a73898becc80dccc35a58a158f8899e (diff)
downloadcoreboot-3e25f85d68d10249473d422c4c19dc30ea55e8b0.tar.gz
coreboot-3e25f85d68d10249473d422c4c19dc30ea55e8b0.tar.bz2
coreboot-3e25f85d68d10249473d422c4c19dc30ea55e8b0.zip
drivers/ipmi to lib: Fix misspellings & capitalization issues
Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I926ec4c1c00339209ef656995031026935e52558 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77637 Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/acpi/acpi.h4
-rw-r--r--src/include/boot_device.h2
-rw-r--r--src/include/bootstate.h2
-rw-r--r--src/include/cpu/x86/mp.h2
-rw-r--r--src/include/device/device.h2
-rw-r--r--src/include/device/dram/ddr2.h2
-rw-r--r--src/include/device/pci_def.h2
-rw-r--r--src/include/input-event-codes.h2
-rw-r--r--src/include/nhlt.h4
-rw-r--r--src/include/rmodule.h2
10 files changed, 12 insertions, 12 deletions
diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h
index 1684e71840a9..01504ce7d395 100644
--- a/src/include/acpi/acpi.h
+++ b/src/include/acpi/acpi.h
@@ -1727,8 +1727,8 @@ void acpi_create_slit(acpi_slit_t *slit,
/*
* Create a Memory Proximity Domain Attributes structure for HMAT,
- * given proximity domain for the attached initiaor, and
- * proximimity domain for the memory.
+ * given proximity domain for the attached initiator, and
+ * proximity domain for the memory.
*/
int acpi_create_hmat_mpda(acpi_hmat_mpda_t *mpda, u32 initiator, u32 memory);
/* Create Heterogeneous Memory Attribute Table */
diff --git a/src/include/boot_device.h b/src/include/boot_device.h
index 84bd16ef65ef..883f37c8c861 100644
--- a/src/include/boot_device.h
+++ b/src/include/boot_device.h
@@ -63,7 +63,7 @@ int boot_device_wp_region(const struct region_device *rd,
void boot_device_init(void);
/*
- * Restrict read/write access to the bootmedia using platform defined rules.
+ * Restrict read/write access to the boot-media using platform defined rules.
*/
#if CONFIG(BOOTMEDIA_LOCK_NONE) || (CONFIG(BOOTMEDIA_LOCK_IN_VERSTAGE) && ENV_RAMSTAGE)
static inline void boot_device_security_lockdown(void) {}
diff --git a/src/include/bootstate.h b/src/include/bootstate.h
index a1743a81aba4..30231ce568a6 100644
--- a/src/include/bootstate.h
+++ b/src/include/bootstate.h
@@ -51,7 +51,7 @@
* |
* BS_OS_RESUME_CHECK -------- BS_OS_RESUME
* | |
- * BS_WRITE_TABLES os handoff
+ * BS_WRITE_TABLES OS handoff
* |
* BS_PAYLOAD_LOAD
* |
diff --git a/src/include/cpu/x86/mp.h b/src/include/cpu/x86/mp.h
index 343bd9c4faae..dd86dce2c548 100644
--- a/src/include/cpu/x86/mp.h
+++ b/src/include/cpu/x86/mp.h
@@ -75,7 +75,7 @@ struct mp_ops {
uintptr_t staggered_smbase);
/*
* Optionally provide a callback that is called after the APs
- * and the BSP have gone through the initialion sequence.
+ * and the BSP have gone through the initialization sequence.
*/
void (*post_mp_init)(void);
};
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 113969ca1dcf..41ec528cbdc0 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -229,7 +229,7 @@ void mp_init_cpus(DEVTREE_CONST struct bus *cpu_bus);
static inline void mp_cpu_bus_init(struct device *dev)
{
/*
- * When no LAPIC device is specified in the devietree inside the CPU cluster device,
+ * When no LAPIC device is specified in the devicetree inside the CPU cluster device,
* neither a LAPIC device nor the link/bus between the CPU cluster and the LAPIC device
* will be present in the static device tree and the link_list struct element of the
* CPU cluster device will be NULL. In this case add one link, so that the
diff --git a/src/include/device/dram/ddr2.h b/src/include/device/dram/ddr2.h
index 032d5ce4cc83..f3605b289d38 100644
--- a/src/include/device/dram/ddr2.h
+++ b/src/include/device/dram/ddr2.h
@@ -92,7 +92,7 @@ struct dimm_attr_ddr2_st {
u8 rev;
/* Supported CAS mask, bit 0 == CL0 .. bit7 == CL7 */
u8 cas_supported;
- /* Maximum cloclk to data cycle times for various CAS.
+ /* Maximum clock to data cycle times for various CAS.
* Fields 0 and 1 are unused. */
u32 cycle_time[8];
/* Maximum data access times for various CAS.
diff --git a/src/include/device/pci_def.h b/src/include/device/pci_def.h
index 9ecd50ab2dfc..8b90163a1e2d 100644
--- a/src/include/device/pci_def.h
+++ b/src/include/device/pci_def.h
@@ -24,7 +24,7 @@
#define PCI_STATUS 0x06 /* 16 bits */
#define PCI_STATUS_CAP_LIST 0x10 /* Support Capability List */
-#define PCI_STATUS_66MHZ 0x20 /* Support 66 Mhz PCI 2.1 bus */
+#define PCI_STATUS_66MHZ 0x20 /* Support 66 MHz PCI 2.1 bus */
/* Support User Definable Features [obsolete] */
#define PCI_STATUS_UDF 0x40
#define PCI_STATUS_FAST_BACK 0x80 /* Accept fast-back to back */
diff --git a/src/include/input-event-codes.h b/src/include/input-event-codes.h
index ff72a4539db8..ad98abd5d5c8 100644
--- a/src/include/input-event-codes.h
+++ b/src/include/input-event-codes.h
@@ -755,7 +755,7 @@
#define KEY_MACRO_PRESET3 0x2b5
/*
- * Some keyboards have a buildin LCD panel where the contents are controlled
+ * Some keyboards have a built-in LCD panel where the contents are controlled
* by the host. Often these have a number of keys directly below the LCD
* intended for controlling a menu shown on the LCD. These keys often don't
* have any labeling so we just name them KEY_KBD_LCD_MENU#
diff --git a/src/include/nhlt.h b/src/include/nhlt.h
index 5d7564bd7632..c4c71c2f480e 100644
--- a/src/include/nhlt.h
+++ b/src/include/nhlt.h
@@ -27,7 +27,7 @@ struct nhlt_format_config;
* Most code should use the SoC variants of the functions because
* there is required logic needed to be performed by the SoC. The SoC
* code should be abstracting the inner details of these functions that
- * specically apply to NHLT objects for that SoC.
+ * specifically apply to NHLT objects for that SoC.
*
* An example sequence:
*
@@ -146,7 +146,7 @@ uintptr_t nhlt_serialize(struct nhlt *nhlt, uintptr_t acpi_addr);
* Serialize NHLT object to ACPI table. Take in the beginning address of where
* the table will reside oem_id and oem_table_id and return the address of the
* next ACPI table. On error 0 will be returned. The NHLT object is no longer
- * valid after thisfunction is called.
+ * valid after this function is called.
*/
uintptr_t nhlt_serialize_oem_overrides(struct nhlt *nhlt, uintptr_t acpi_addr,
const char *oem_id, const char *oem_table_id,
diff --git a/src/include/rmodule.h b/src/include/rmodule.h
index 1925dcc951c2..bf26ad0b70a4 100644
--- a/src/include/rmodule.h
+++ b/src/include/rmodule.h
@@ -16,7 +16,7 @@ enum {
struct rmodule;
-/* Public API for loading rmdoules. */
+/* Public API for loading rmodules. */
int rmodule_parse(void *ptr, struct rmodule *m);
void *rmodule_parameters(const struct rmodule *m);
void *rmodule_entry(const struct rmodule *m);