summaryrefslogtreecommitdiffstats
path: root/src/acpi/acpi.c
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/acpi/acpi.c
parent6c3ece9c9ef73db5c0e02cc5a41c98f46b86c3e9 (diff)
downloadcoreboot-0949e739066c3509e05db2b9ed71cefaaa62205f.tar.gz
coreboot-0949e739066c3509e05db2b9ed71cefaaa62205f.tar.bz2
coreboot-0949e739066c3509e05db2b9ed71cefaaa62205f.zip
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/acpi/acpi.c')
-rw-r--r--src/acpi/acpi.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c
index 2e15ea9cc80f..6417ef891e1d 100644
--- a/src/acpi/acpi.c
+++ b/src/acpi/acpi.c
@@ -1937,15 +1937,15 @@ int get_acpi_table_revision(enum acpi_tables table)
return 2;
case TPM2:
return 4;
- case SSDT: /* ACPI 3.0 upto 6.3: 2 */
+ case SSDT: /* ACPI 3.0 up to 6.3: 2 */
return 2;
- case SRAT: /* ACPI 2.0: 1, ACPI 3.0: 2, ACPI 4.0 upto 6.3: 3 */
+ case SRAT: /* ACPI 2.0: 1, ACPI 3.0: 2, ACPI 4.0 up to 6.3: 3 */
return 1; /* TODO Should probably be upgraded to 2 */
case HMAT: /* ACPI 6.4: 2 */
return 2;
case DMAR:
return 1;
- case SLIT: /* ACPI 2.0 upto 6.3: 1 */
+ case SLIT: /* ACPI 2.0 up to 6.3: 1 */
return 1;
case SPMI: /* IMPI 2.0 */
return 5;
@@ -1957,13 +1957,13 @@ int get_acpi_table_revision(enum acpi_tables table)
return IVRS_FORMAT_MIXED;
case DBG2:
return 0;
- case FACS: /* ACPI 2.0/3.0: 1, ACPI 4.0 upto 6.3: 2 */
+ case FACS: /* ACPI 2.0/3.0: 1, ACPI 4.0 up to 6.3: 2 */
return 1;
- case RSDT: /* ACPI 1.0 upto 6.3: 1 */
+ case RSDT: /* ACPI 1.0 up to 6.3: 1 */
return 1;
- case XSDT: /* ACPI 2.0 upto 6.3: 1 */
+ case XSDT: /* ACPI 2.0 up to 6.3: 1 */
return 1;
- case RSDP: /* ACPI 2.0 upto 6.3: 2 */
+ case RSDP: /* ACPI 2.0 up to 6.3: 2 */
return 2;
case EINJ:
return 1;