drivers/tpm/ppi_stub: Fix interface version

The latest version defined by TCG is 1.3.

Change-Id: Idb12e2212d6d38c720c8fe989678724c871af6ef
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45569
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by:  Felix Singer <felixsinger@posteo.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Patrick Rudolph 2020-09-21 10:27:40 +02:00 committed by Hung-Te Lin
parent 39d6927609
commit 2bea58db60
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ static void tpm_ppi_func0_cb(void *arg)
static void tpm_ppi_func1_cb(void *arg) static void tpm_ppi_func1_cb(void *arg)
{ {
if (CONFIG(TPM2)) if (CONFIG(TPM2))
/* Interface version: 2.0 */ /* Interface version: 1.3 */
acpigen_write_return_string("2.0"); acpigen_write_return_string("1.3");
else else
/* Interface version: 1.2 */ /* Interface version: 1.2 */
acpigen_write_return_string("1.2"); acpigen_write_return_string("1.2");