From 3e5cefcc45d7ef7da9fd9b6ecc499a05f8134039 Mon Sep 17 00:00:00 2001 From: Sergii Dmytruk Date: Tue, 1 Nov 2022 00:48:43 +0200 Subject: security/tpm: support compiling in multiple TPM drivers Starting from here CONFIG_TPM1 and CONFIG_TPM2 are no longer mutually exclusive. Change-Id: I44c5a1d825afe414c2f5c2c90f4cfe41ba9bef5f Ticket: https://ticket.coreboot.org/issues/433 Signed-off-by: Sergii Dmytruk Reviewed-on: https://review.coreboot.org/c/coreboot/+/69162 Reviewed-by: Julius Werner Tested-by: build bot (Jenkins) --- src/drivers/pc80/tpm/tpm.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/drivers/pc80/tpm/tpm.h (limited to 'src/drivers/pc80/tpm/tpm.h') diff --git a/src/drivers/pc80/tpm/tpm.h b/src/drivers/pc80/tpm/tpm.h new file mode 100644 index 0000000000..db71e03900 --- /dev/null +++ b/src/drivers/pc80/tpm/tpm.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef DRIVERS_PC80_TPM_TPM_H +#define DRIVERS_PC80_TPM_TPM_H + +#include + +tis_sendrecv_fn pc80_tis_probe(enum tpm_family *family); + +#endif /* DRIVERS_PC80_TPM_TPM_H */ -- cgit v1.2.3