From 2c9626c463151f1c178b5855bc763978e3878954 Mon Sep 17 00:00:00 2001 From: Ilias Apalodimas Date: Tue, 9 Nov 2021 09:02:17 +0200 Subject: tpm2: Introduce TIS tpm core There's a lot of code duplication in U-Boot right now. All the TPM TIS compatible drivers we have at the moment have their own copy of a TIS implementation. So let's create a common layer which implements the core TIS functions. Any driver added from now own, which is compatible with the TIS spec, will only have to provide the underlying bus communication mechanisms. Signed-off-by: Ilias Apalodimas --- include/tpm-v2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/tpm-v2.h b/include/tpm-v2.h index 947458b0bdf..ceff7d245ed 100644 --- a/include/tpm-v2.h +++ b/include/tpm-v2.h @@ -396,6 +396,7 @@ enum { TPM_STS_DATA_EXPECT = 1 << 3, TPM_STS_SELF_TEST_DONE = 1 << 2, TPM_STS_RESPONSE_RETRY = 1 << 1, + TPM_STS_READ_ZERO = 0x23 }; enum { -- cgit v1.2.3