summaryrefslogtreecommitdiffstats
path: root/src/security/tpm/tspi/crtm.h
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2021-06-14 09:17:49 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-06-16 09:52:21 +0000
commit17cb5becca3972525e53aa36fe9abdb5d5b8d782 (patch)
tree59ea419a57de16a58ef84ec84bc8305e6c575e92 /src/security/tpm/tspi/crtm.h
parent80ff868020dde82cba7fad9ff51ae3e117cab597 (diff)
downloadcoreboot-17cb5becca3972525e53aa36fe9abdb5d5b8d782.tar.gz
coreboot-17cb5becca3972525e53aa36fe9abdb5d5b8d782.tar.bz2
coreboot-17cb5becca3972525e53aa36fe9abdb5d5b8d782.zip
security/tpm/tspi: Reduce scope of tspi_init_crtm
This is only called locally. Change-Id: Ie3eaf659a2868eee1d4688885495c413f94f42e2 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55469 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Johnny Lin <Johnny_Lin@wiwynn.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Christian Walter <christian.walter@9elements.com>
Diffstat (limited to 'src/security/tpm/tspi/crtm.h')
-rw-r--r--src/security/tpm/tspi/crtm.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/security/tpm/tspi/crtm.h b/src/security/tpm/tspi/crtm.h
index f857ca74603e..011fa26ad71b 100644
--- a/src/security/tpm/tspi/crtm.h
+++ b/src/security/tpm/tspi/crtm.h
@@ -16,24 +16,6 @@
*/
#define TPM_RUNTIME_DATA_PCR 3
-/*
- * Initializes the Core Root of Trust for Measurements
- * in coreboot. The initial code in a chain of trust must measure
- * itself.
- *
- * Summary:
- * + Measures the FMAP FMAP partition.
- * + Measures bootblock in CBFS or BOOTBLOCK FMAP partition.
- * + If vboot starts in romstage, it measures the romstage
- * in CBFS.
- * + Measure the verstage if it is compiled as separate
- * stage.
- *
- * Takes the current vboot context as parameter for s3 checks.
- * returns on success VB2_SUCCESS, else a vboot error.
- */
-uint32_t tspi_init_crtm(void);
-
/**
* Measure digests cached in TCPA log entries into PCRs
*/