diff options
| author | Miquel Raynal <[email protected]> | 2018-05-15 11:57:08 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2018-05-25 20:12:55 -0400 |
| commit | ff32245bb3b57689cd7b1699ae29ff8fc0edc0d8 (patch) | |
| tree | facec1175fc0f7181817d13128d5d3e8214d2830 /drivers | |
| parent | 3219cf693a1674650eba2a57d4bf8c87d9f21752 (diff) | |
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/tpm/tpm-uclass.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tpm/tpm-uclass.c b/drivers/tpm/tpm-uclass.c index 9488b091a2e..412697eedc4 100644 --- a/drivers/tpm/tpm-uclass.c +++ b/drivers/tpm/tpm-uclass.c @@ -9,6 +9,8 @@ #include <linux/unaligned/be_byteshift.h> #if defined(CONFIG_TPM_V1) #include <tpm-v1.h> +#elif defined(CONFIG_TPM_V2) +#include <tpm-v2.h> #endif #include "tpm_internal.h" |
