tpm: prepare support for TPMv2.x commands
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 15 May 2018 09:57:08 +0000 (11:57 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 26 May 2018 00:12:55 +0000 (20:12 -0400)
commitff32245bb3b57689cd7b1699ae29ff8fc0edc0d8
treefacec1175fc0f7181817d13128d5d3e8214d2830
parent3219cf693a1674650eba2a57d4bf8c87d9f21752
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 <miquel.raynal@bootlin.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
cmd/Makefile
cmd/tpm-v2.c [new file with mode: 0644]
drivers/tpm/tpm-uclass.c
include/tpm-common.h
include/tpm-v2.h [new file with mode: 0644]
lib/Makefile
lib/tpm-v2.c [new file with mode: 0644]