From f18dc5c72cbbe35733bf668629f461cba3417405 Mon Sep 17 00:00:00 2001 From: Philipp Deppenwiese Date: Thu, 14 Dec 2017 15:49:32 +0100 Subject: security/tpm: Add TCPA logging functionality * TCG spec only applies to BIOS or UEFI. * Therefore implement coreboot TCPA compliant log in CBMEM. * Write CBMEM log into the coreboot table for CBMEM tool access Change-Id: I0a52494f647d21e2587231af26ed13d62b3a72f5 Signed-off-by: Philipp Deppenwiese Reviewed-on: https://review.coreboot.org/22867 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/drivers/tpm/tpm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/drivers') diff --git a/src/drivers/tpm/tpm.c b/src/drivers/tpm/tpm.c index e4a81c3da4..8c681597bb 100644 --- a/src/drivers/tpm/tpm.c +++ b/src/drivers/tpm/tpm.c @@ -30,6 +30,9 @@ static void init_tpm_dev(void *unused) #else tpm_setup(false); #endif + + // TCPA cbmem log + tcpa_log_init(); } BOOT_STATE_INIT_ENTRY(BS_DEV_INIT, BS_ON_ENTRY, init_tpm_dev, NULL); -- cgit v1.2.3