diff options
author | Frans Hendriks <fhendriks@eltan.com> | 2018-10-29 10:47:52 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-04-08 14:10:20 +0000 |
commit | 8bd5c996ab96b34e1654a88a98d1c9a957b0b478 (patch) | |
tree | 2d9edb0b78552dda22cfc7f763d70e19fb521ebd /src/security/tpm | |
parent | db3ba1bc186c487157ba9161dfc965f3e22a026f (diff) |
{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>
Diffstat (limited to 'src/security/tpm')
-rw-r--r-- | src/security/tpm/tss.h | 2 | ||||
-rw-r--r-- | src/security/tpm/tss/tcg-2.0/tss_marshaling.c | 4 |
2 files changed, 3 insertions, 3 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)); |