diff options
author | Simon Glass <sjg@chromium.org> | 2021-02-06 14:23:36 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-03-02 15:53:37 -0500 |
commit | d6a885f0878043d572bfd85a423e4a6bb6073178 (patch) | |
tree | 22e8ea8ae77cbf2233ec02e4769be1f11018fcd5 /lib/Makefile | |
parent | bfe8fa262c788b817a8de66f78b3b2d9c22fa0d1 (diff) | |
download | u-boot-d6a885f0878043d572bfd85a423e4a6bb6073178.tar.gz u-boot-d6a885f0878043d572bfd85a423e4a6bb6073178.tar.bz2 u-boot-d6a885f0878043d572bfd85a423e4a6bb6073178.zip |
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>
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index edc1c3dd4f..c42d4e1233 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -53,6 +53,7 @@ endif obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm-common.o ifeq ($(CONFIG_$(SPL_TPL_)TPM),y) obj-y += crc8.o +obj-$(CONFIG_TPM) += tpm_api.o obj-$(CONFIG_TPM_V1) += tpm-v1.o obj-$(CONFIG_TPM_V2) += tpm-v2.o endif |