summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrans Hendriks <fhendriks@eltan.com>2018-10-29 10:47:52 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-04-08 14:10:20 +0000
commit8bd5c996ab96b34e1654a88a98d1c9a957b0b478 (patch)
tree2d9edb0b78552dda22cfc7f763d70e19fb521ebd
parentdb3ba1bc186c487157ba9161dfc965f3e22a026f (diff)
downloadcoreboot-8bd5c996ab96b34e1654a88a98d1c9a957b0b478.tar.xz
{src,util}: Correct typo in comment and debug string
Correct typo in comment and debug string. BUG=N/A TEST=build Change-Id: I0362bb8d7c883e7fcbc6a2fc2f9918251f0d8d6e Signed-off-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/29321 Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/security/tpm/tss.h2
-rw-r--r--src/security/tpm/tss/tcg-2.0/tss_marshaling.c4
-rw-r--r--src/soc/intel/braswell/include/soc/irq.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/security/tpm/tss.h b/src/security/tpm/tss.h
index 807cb46a3e..548a39a774 100644
--- a/src/security/tpm/tss.h
+++ b/src/security/tpm/tss.h
@@ -144,7 +144,7 @@ uint32_t tlcl_assert_physical_presence(void);
uint32_t tlcl_physical_presence_cmd_enable(void);
/**
- * Finalize the physical presence settings: sofware PP is enabled, hardware PP
+ * Finalize the physical presence settings: software PP is enabled, hardware PP
* is disabled, and the lifetime lock is set. The TPM error code is returned.
*/
uint32_t tlcl_finalize_physical_presence(void);
diff --git a/src/security/tpm/tss/tcg-2.0/tss_marshaling.c b/src/security/tpm/tss/tcg-2.0/tss_marshaling.c
index 62bc6a9a35..21da73a885 100644
--- a/src/security/tpm/tss/tcg-2.0/tss_marshaling.c
+++ b/src/security/tpm/tss/tcg-2.0/tss_marshaling.c
@@ -471,12 +471,12 @@ static int unmarshal_nv_read(struct ibuf *ib, struct nv_read_response *nvr)
}
/*
- * Let's ignore the authorisation section. It should be 5 bytes total,
+ * Let's ignore the authorization section. It should be 5 bytes total,
* just confirm that this is the case and report any discrepancy.
*/
if (ibuf_remaining(ib) != 5)
printk(BIOS_ERR,
- "%s:%d - unexpected authorisation seciton size %zd\n",
+ "%s:%d - unexpected authorization section size %zd\n",
__func__, __LINE__, ibuf_remaining(ib));
ibuf_oob_drain(ib, ibuf_remaining(ib));
diff --git a/src/soc/intel/braswell/include/soc/irq.h b/src/soc/intel/braswell/include/soc/irq.h
index f9d3700be0..b14d0c06c7 100644
--- a/src/soc/intel/braswell/include/soc/irq.h
+++ b/src/soc/intel/braswell/include/soc/irq.h
@@ -179,7 +179,7 @@
# define SCIS_IRQ23 0x07
/*
- * In each mainbaord directory there should exist a header file irqroute.h that
+ * In each mainboard directory there should exist a header file irqroute.h that
* defines the PCI_DEV_PIRQ_ROUTES and PIRQ_PIC_ROUTES macros which
* consist of PCI_DEV_PIRQ_ROUTE and PIRQ_PIC entries.
*/