summaryrefslogtreecommitdiff
path: root/src/security/intel
diff options
context:
space:
mode:
authorMartin Roth <martin@coreboot.org>2021-10-01 14:37:30 -0600
committerMartin Roth <martinroth@google.com>2021-10-05 18:06:52 +0000
commit50863daef8ed75c0cb3dfd375e7622c898de5821 (patch)
treecbb2dea518524f8c9ce5edca5d57132ca9705086 /src/security/intel
parent0949e739066c3509e05db2b9ed71cefaaa62205f (diff)
src/mainboard to src/security: 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: Ie34003a9fdfe9f3b1b8ec0789aeca8b9435c9c79 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58081 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/security/intel')
-rw-r--r--src/security/intel/cbnt/logging.c2
-rw-r--r--src/security/intel/stm/SmmStm.c2
-rw-r--r--src/security/intel/txt/common.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/security/intel/cbnt/logging.c b/src/security/intel/cbnt/logging.c
index 55354b4ce8..514e5ac666 100644
--- a/src/security/intel/cbnt/logging.c
+++ b/src/security/intel/cbnt/logging.c
@@ -123,7 +123,7 @@ void intel_cbnt_log_registers(void)
LOG("SACM INFO MSR (0x13A) raw: 0x%016llx\n", acm_info.raw);
LOG(" NEM status: %u\n", acm_info.nem_enabled);
LOG(" TPM type: %s\n", tpm_type[acm_info.tpm_type]);
- LOG(" TPM succes: %u\n", acm_info.tpm_success);
+ LOG(" TPM success: %u\n", acm_info.tpm_success);
LOG(" FACB: %u\n", acm_info.facb);
LOG(" measured boot: %u\n", acm_info.measured_boot);
LOG(" verified boot: %u\n", acm_info.verified_boot);
diff --git a/src/security/intel/stm/SmmStm.c b/src/security/intel/stm/SmmStm.c
index e2fab0c063..1ebe77d2f1 100644
--- a/src/security/intel/stm/SmmStm.c
+++ b/src/security/intel/stm/SmmStm.c
@@ -668,7 +668,7 @@ bool stm_check_stm_image(void *stm_image, uint32_t stm_imagesize)
/*
* This function return BIOS STM resource.
* Produced by SmmStm.
- * Comsumed by SmmMpService when Init.
+ * Consumed by SmmMpService when Init.
*
* @return BIOS STM resource
*/
diff --git a/src/security/intel/txt/common.c b/src/security/intel/txt/common.c
index 2b7d92627c..e3e2f5c469 100644
--- a/src/security/intel/txt/common.c
+++ b/src/security/intel/txt/common.c
@@ -150,7 +150,7 @@ static struct acm_info_table *find_info_table(const void *ptr)
}
/**
- * Validate that the provided ACM is useable on this platform.
+ * Validate that the provided ACM is usable on this platform.
*/
static int validate_acm(const void *ptr)
{