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>
Showing
- cmd/Makefile 1 addition, 0 deletionscmd/Makefile
- cmd/tpm-v2.c 33 additions, 0 deletionscmd/tpm-v2.c
- drivers/tpm/tpm-uclass.c 2 additions, 0 deletionsdrivers/tpm/tpm-uclass.c
- include/tpm-common.h 6 additions, 0 deletionsinclude/tpm-common.h
- include/tpm-v2.h 128 additions, 0 deletionsinclude/tpm-v2.h
- lib/Makefile 1 addition, 0 deletionslib/Makefile
- lib/tpm-v2.c 11 additions, 0 deletionslib/tpm-v2.c
Loading
Please register or sign in to comment