]> git.dujemihanovic.xyz Git - u-boot.git/commit
tpm: Export the TPM-version functions
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jul 2022 16:02:02 +0000 (21:32 +0530)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Tue, 2 Aug 2022 20:50:02 +0000 (23:50 +0300)
commit5e5937822a50224631963402ff3c033d2524a55f
tree12120b81a8a4d8d5e5c3943f8f74d33437d2407c
parent707b17f64e71fad1615ea25082f2e928f712e366
tpm: Export the TPM-version functions

These functions should really be available outside the TPM code, so that
other callers can find out which version the TPM is. Rename them to have
a tpm_ prefix() and add them to the header file.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/tpm_api.h
lib/tpm_api.c