]> git.baikalelectronics.ru Git - uboot.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)
commitfe4dff95b9b2de27bda0c300a458ffea3cc52f14
tree12120b81a8a4d8d5e5c3943f8f74d33437d2407c
parent84d6c39f2043161436c74f6a9f4f1c2591d8faa1
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