summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2021-11-09 09:02:17 +0200
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-11-10 20:57:54 +0100
commit2c9626c463151f1c178b5855bc763978e3878954 (patch)
tree288be8cca1959ea472f5439457c04319a8d84fd0 /include
parentc9e6d9c8e573ea3dec4362319162af4e125076f7 (diff)
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 <ilias.apalodimas@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/tpm-v2.h1
1 files changed, 1 insertions, 0 deletions
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 {