diff options
author | Simon Glass <sjg@chromium.org> | 2020-09-22 12:45:32 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-09-25 11:27:23 +0800 |
commit | 9179c3571ce587e96b957d0da8f0e4dcabc8d293 (patch) | |
tree | 4d71d9f93963e9b6f3453e3ca065388bc40d2c6d /include | |
parent | 4ff3591988a4aefad7bafc9a2ee8701cccf03d74 (diff) | |
download | u-boot-9179c3571ce587e96b957d0da8f0e4dcabc8d293.tar.gz |
acpi: tpm: Add a TPM2 table
This provides information about a v2 TPM in the system. Generate this
table if the TPM is present.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/acpi/acpi_table.h | 11 | ||||
-rw-r--r-- | include/bloblist.h | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/acpi/acpi_table.h b/include/acpi/acpi_table.h index a2e510cf56..c7ee8b55da 100644 --- a/include/acpi/acpi_table.h +++ b/include/acpi/acpi_table.h @@ -93,6 +93,17 @@ struct __packed acpi_hpet { u8 attributes; }; +struct __packed acpi_tpm2 { + struct acpi_table_header header; + u16 platform_class; + u8 reserved[2]; + u64 control_area; + u32 start_method; + u8 msp[12]; + u32 laml; + u64 lasa; +}; + /* FADT Preferred Power Management Profile */ enum acpi_pm_profile { ACPI_PM_UNSPECIFIED = 0, diff --git a/include/bloblist.h b/include/bloblist.h index 7d8480548e..dc7d80bd85 100644 --- a/include/bloblist.h +++ b/include/bloblist.h @@ -33,6 +33,7 @@ enum bloblist_tag_t { */ BLOBLISTT_ACPI_GNVS, BLOBLISTT_INTEL_VBT, /* Intel Video-BIOS table */ + BLOBLISTT_TPM2_TCG_LOG, /* TPM v2 log space */ }; /** |