From ff32245bb3b57689cd7b1699ae29ff8fc0edc0d8 Mon Sep 17 00:00:00 2001 From: Miquel Raynal Date: Tue, 15 May 2018 11:57:08 +0200 Subject: tpm: prepare support for TPMv2.x commands Choice between v1 and v2 compliant functions is done with the configuration. Create the various files that will receive TPMv2-only code on the same scheme as for the TPMv1 code. Signed-off-by: Miquel Raynal Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- drivers/tpm/tpm-uclass.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/tpm/tpm-uclass.c') diff --git a/drivers/tpm/tpm-uclass.c b/drivers/tpm/tpm-uclass.c index 9488b09..412697e 100644 --- a/drivers/tpm/tpm-uclass.c +++ b/drivers/tpm/tpm-uclass.c @@ -9,6 +9,8 @@ #include #if defined(CONFIG_TPM_V1) #include +#elif defined(CONFIG_TPM_V2) +#include #endif #include "tpm_internal.h" -- cgit v1.1