aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86/include
diff options
context:
space:
mode:
authorPhilipp Deppenwiese <zaolin@das-labor.org>2018-10-18 15:39:34 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-10-26 11:22:58 +0000
commit296164e0fef7c7437dd13b8ecf8b644c2369c1f6 (patch)
tree2536bbaef16e489b382406e20650919a74140a64 /src/arch/x86/include
parent3c37b5a682f95d1f7efcf6aa798079fdeb6b2016 (diff)
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 <zaolin@das-labor.org> Reviewed-on: https://review.coreboot.org/29181 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r--src/arch/x86/include/arch/acpi.h9
1 files changed, 9 insertions, 0 deletions
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;