aboutsummaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-01-09 21:29:25 +0100
committerNico Huber <nico.h@gmx.de>2020-01-13 11:15:42 +0000
commit6716babee5a64cbf3674a13656e5a4179c5cb331 (patch)
treee9678df83befa944acabbeddebcb588882a1334d /src/arch
parentaf995bbd756190a7cf4498c26009855806dcdc45 (diff)
arch/x86: Fix typos
Change-Id: I944b9bf8f518eff9b539769825174bf1544e6b34 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38310 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/acpi_device.c2
-rw-r--r--src/arch/x86/acpigen.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/acpi_device.c b/src/arch/x86/acpi_device.c
index 1d79170487..d51278975b 100644
--- a/src/arch/x86/acpi_device.c
+++ b/src/arch/x86/acpi_device.c
@@ -176,7 +176,7 @@ const char *acpi_device_scope(const struct device *dev)
return buf;
}
-/* Concatentate the device path and provided name suffix */
+/* Concatenate the device path and provided name suffix */
const char *acpi_device_path_join(const struct device *dev, const char *name)
{
static char buf[DEVICE_PATH_MAX] = {};
diff --git a/src/arch/x86/acpigen.c b/src/arch/x86/acpigen.c
index 493131eda1..2e6078358a 100644
--- a/src/arch/x86/acpigen.c
+++ b/src/arch/x86/acpigen.c
@@ -1006,7 +1006,7 @@ void acpigen_write_resourcetemplate_header(void)
acpigen_emit_byte(WORD_PREFIX);
len_stack[ltop++] = acpigen_get_current();
/* Add 2 dummy bytes for the ACPI word (keep aligned with
- the calclulation in acpigen_write_resourcetemplate() below). */
+ the calculation in acpigen_write_resourcetemplate() below). */
acpigen_emit_byte(0x00);
acpigen_emit_byte(0x00);
}