From 8bd5c996ab96b34e1654a88a98d1c9a957b0b478 Mon Sep 17 00:00:00 2001 From: Frans Hendriks Date: Mon, 29 Oct 2018 10:47:52 +0100 Subject: {src,util}: Correct typo in comment and debug string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correct typo in comment and debug string. BUG=N/A TEST=build Change-Id: I0362bb8d7c883e7fcbc6a2fc2f9918251f0d8d6e Signed-off-by: Frans Hendriks Reviewed-on: https://review.coreboot.org/c/coreboot/+/29321 Reviewed-by: Michał Żygowski Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- src/security/tpm/tss.h | 2 +- src/security/tpm/tss/tcg-2.0/tss_marshaling.c | 4 ++-- src/soc/intel/braswell/include/soc/irq.h | 2 +- 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. */ -- cgit v1.2.3