diff options
author | Philipp Deppenwiese <zaolin@das-labor.org> | 2018-10-18 15:39:34 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-10-26 11:22:58 +0000 |
commit | 296164e0fef7c7437dd13b8ecf8b644c2369c1f6 (patch) | |
tree | 2536bbaef16e489b382406e20650919a74140a64 /src/arch/x86/include | |
parent | 3c37b5a682f95d1f7efcf6aa798079fdeb6b2016 (diff) | |
download | coreboot-296164e0fef7c7437dd13b8ecf8b644c2369c1f6.tar.xz |
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.h | 9 |
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; |