aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMartin Roth <martin@coreboot.org>2021-10-01 14:28:22 -0600
committerMartin Roth <martinroth@google.com>2021-10-05 18:06:39 +0000
commit0949e739066c3509e05db2b9ed71cefaaa62205f (patch)
tree797d772f524dd668689f8c2813f3b052e84de434 /src/include
parent6c3ece9c9ef73db5c0e02cc5a41c98f46b86c3e9 (diff)
src/acpi to src/lib: Fix spelling errors
These issues were found and fixed by codespell, a useful tool for finding spelling errors. Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: I5b8ecdfe75d99028fee820a2034466a8ad1c5e63 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58080 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/acpi/acpi.h2
-rw-r--r--src/include/cpu/x86/save_state.h2
-rw-r--r--src/include/device/i2c_simple.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h
index 01d10c2b20..2c9af3a56f 100644
--- a/src/include/acpi/acpi.h
+++ b/src/include/acpi/acpi.h
@@ -1267,7 +1267,7 @@ void acpi_create_slit(acpi_slit_t *slit,
* proximimity domain for the memory.
*/
int acpi_create_hmat_mpda(acpi_hmat_mpda_t *mpda, u32 initiator, u32 memory);
-/* Create Heterogenous Memory Attribute Table */
+/* Create Heterogeneous Memory Attribute Table */
void acpi_create_hmat(acpi_hmat_t *hmat,
unsigned long (*acpi_fill_hmat)(unsigned long current));
diff --git a/src/include/cpu/x86/save_state.h b/src/include/cpu/x86/save_state.h
index d6fcf63d79..139a5fa750 100644
--- a/src/include/cpu/x86/save_state.h
+++ b/src/include/cpu/x86/save_state.h
@@ -26,7 +26,7 @@ struct smm_save_state_ops {
/* Return -1 on failure, otherwise returns which CPU node issued an APMC IO write */
int get_apmc_node(u8 cmd);
-/* Return -1 on failure, 0 on succes.
+/* Return -1 on failure, 0 on success.
Accessors for the SMM save state CPU registers RAX, RBX, RCX and RDX */
int get_save_state_reg(const enum cpu_reg reg, const int node, void *out, const uint8_t length);
int set_save_state_reg(const enum cpu_reg reg, const int node, void *in, const uint8_t length);
diff --git a/src/include/device/i2c_simple.h b/src/include/device/i2c_simple.h
index de1c0eb4b8..8f389b3107 100644
--- a/src/include/device/i2c_simple.h
+++ b/src/include/device/i2c_simple.h
@@ -35,7 +35,7 @@ int i2c_write_field(unsigned int bus, uint8_t slave, uint8_t reg, uint8_t data,
/*
* software_i2c is supposed to be a debug feature. It's usually not compiled in,
- * but when it is it can be dynamically enabled at runtime for certain busses.
+ * but when it is it can be dynamically enabled at runtime for certain buses.
* Need this ugly stub to arbitrate since I2C device drivers hardcode
* 'i2c_transfer()' as their entry point.
*/