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>
diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h
index 1684e71..01504ce 100644
--- a/src/include/acpi/acpi.h
+++ b/src/include/acpi/acpi.h
@@ -1727,8 +1727,8 @@
 
 /*
  * 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 84bd16e..883f37c 100644
--- a/src/include/boot_device.h
+++ b/src/include/boot_device.h
@@ -63,7 +63,7 @@
 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 a1743a8..30231ce 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 343bd9c4..dd86dce 100644
--- a/src/include/cpu/x86/mp.h
+++ b/src/include/cpu/x86/mp.h
@@ -75,7 +75,7 @@
 		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 113969c..41ec528 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -229,7 +229,7 @@
 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 032d5ce..f3605b2 100644
--- a/src/include/device/dram/ddr2.h
+++ b/src/include/device/dram/ddr2.h
@@ -92,7 +92,7 @@
 	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 9ecd50a..8b90163 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 ff72a45..ad98abd 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 5d7564b..c4c71c2 100644
--- a/src/include/nhlt.h
+++ b/src/include/nhlt.h
@@ -27,7 +27,7 @@
  * 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 @@
  * 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 1925dcc..bf26ad0 100644
--- a/src/include/rmodule.h
+++ b/src/include/rmodule.h
@@ -16,7 +16,7 @@
 
 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);