tpm: Switch TPMv1 over to use the new API
authorSimon Glass <sjg@chromium.org>
Sat, 6 Feb 2021 21:23:36 +0000 (14:23 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 2 Mar 2021 20:53:37 +0000 (15:53 -0500)
commitd6a885f0878043d572bfd85a423e4a6bb6073178
tree22e8ea8ae77cbf2233ec02e4769be1f11018fcd5
parentbfe8fa262c788b817a8de66f78b3b2d9c22fa0d1
tpm: Switch TPMv1 over to use the new API

Take over the plain 'tpm_...' functions for use by the new TPM API. Rename
all the TPMv1 functions so they are called from the API.

Update the TPMv1 functions so that they are called from the API. Change
existing users to use the tpm1_ prefix so they don't need to go through
the API, which might introduce uncertainty.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
board/gdsys/a38x/controlcenterdc.c
board/gdsys/a38x/hre.c
board/gdsys/a38x/keyprogram.c
board/gdsys/mpc8308/gazerbeam.c
board/gdsys/p1022/controlcenterd-id.c
cmd/tpm-v1.c
cmd/tpm_test.c
include/tpm-v1.h
lib/Makefile
lib/tpm-v1.c