mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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 */
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user