Attention is currently required from: Cliff Huang, Lance Zhao, Tim Wawrzynczak.
Sergii Dmytruk has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/80523?usp=email )
Change subject: acpi: publish control area of memory-mapped TPMs ......................................................................
acpi: publish control area of memory-mapped TPMs
Change-Id: I33c2f79028e1f066c0099216c314652ea46f5f84 Signed-off-by: Sergii Dmytruk sergii.dmytruk@3mdeb.com --- M src/acpi/acpi.c 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/23/80523/1
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c index 59d1043..a7f9a88 100644 --- a/src/acpi/acpi.c +++ b/src/acpi/acpi.c @@ -294,6 +294,10 @@ /* Must be set to 7 for CRB Support */ tpm2->control_area = CONFIG_CRB_TPM_BASE_ADDRESS + 0x40; tpm2->start_method = 7; + } else if (CONFIG(MEMORY_MAPPED_TPM)) { + tpm2->control_area = CONFIG_TPM_TIS_BASE_ADDRESS; + /* Must be set to 6 for Memory-mapped I/O Interface */ + tpm2->start_method = 6; } else { /* Must be set to 0 for FIFO interface support */ tpm2->control_area = 0;