From 296164e0fef7c7437dd13b8ecf8b644c2369c1f6 Mon Sep 17 00:00:00 2001 From: Philipp Deppenwiese Date: Thu, 18 Oct 2018 15:39:34 +0200 Subject: arch/x86/acpi: Add TPM2 table support * Distinguish between TPM 1.2 and 2.0 ACPI table support * Add TPM2 table support for TIS interface only Change-Id: I030c7ea744bcfe61ebef8d66d1295273b5dccda5 Signed-off-by: Philipp Deppenwiese Reviewed-on: https://review.coreboot.org/29181 Tested-by: build bot (Jenkins) Reviewed-by: Werner Zeh --- src/arch/x86/include/arch/acpi.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/arch/x86/include') diff --git a/src/arch/x86/include/arch/acpi.h b/src/arch/x86/include/arch/acpi.h index 54be1f40b7..b5205c018e 100644 --- a/src/arch/x86/include/arch/acpi.h +++ b/src/arch/x86/include/arch/acpi.h @@ -191,6 +191,15 @@ typedef struct acpi_tcpa { u64 lasa; } __packed acpi_tcpa_t; +typedef struct acpi_tpm2 { + struct acpi_table_header header; + u16 platform_class; + u8 reserved[2]; + u64 control_area; + u32 start_method; + u8 msp[12]; +} __packed acpi_tpm2_t; + typedef struct acpi_mcfg_mmconfig { u32 base_address; u32 base_reserved; -- cgit v1.2.3