summaryrefslogtreecommitdiff
path: root/src/security/tpm/tspi.h
diff options
context:
space:
mode:
authorPhilipp Deppenwiese <zaolin@das-labor.org>2018-08-01 06:26:00 +0200
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2018-08-03 23:46:21 +0000
commitbce49c2304adba31264c68daecdb5a41a3faf3a0 (patch)
treea96c10c75af096d56a7ae3a7aeeb316c81b8e3c8 /src/security/tpm/tspi.h
parent0a0340e42e461a6e34a2e99304792f0ecac07bcb (diff)
downloadcoreboot-bce49c2304adba31264c68daecdb5a41a3faf3a0.tar.xz
security/tpm: Improve TCPA log generation
* Make tcpa_log_init static and move init code into the tcpa_log_add_table_entry routine. * Add more checks for log initialization. * Fix minor issues Change-Id: I215d79eed7ad17c6ab87f0c4b14a282e519ef07d Signed-off-by: Philipp Deppenwiese <zaolin@das-labor.org> Reviewed-on: https://review.coreboot.org/27769 Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/security/tpm/tspi.h')
-rw-r--r--src/security/tpm/tspi.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/security/tpm/tspi.h b/src/security/tpm/tspi.h
index 94b53b054a..e4ddefcdd3 100644
--- a/src/security/tpm/tspi.h
+++ b/src/security/tpm/tspi.h
@@ -21,11 +21,6 @@
#include <commonlib/tcpa_log_serialized.h>
/**
- * Setup TCPA cbmem log.
- */
-void tcpa_log_init(void);
-
-/**
* Add table entry for cbmem TCPA log.
*/
void tcpa_log_add_table_entry(const char *name, const uint32_t pcr,