summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2016-07-03 15:23:27 -0700
committerMartin Roth <martinroth@google.com>2016-07-13 23:58:17 +0200
commit03e4472e179c51a43498533b90a49234e15a335b (patch)
tree6d450053711a49f1fcb36642a416404d37c827a7 /src/lib
parent1a98050f1a09a3d95f71f2851a15c0a6d2c4a62f (diff)
downloadcoreboot-03e4472e179c51a43498533b90a49234e15a335b.tar.xz
tpm2: drop unused structures
Some structures were included in tpm2_tlcl_structures.h that are not needed for tpm2 commands used by coreboot. Drop them from the include file. BRANCH=none BUG=none TEST=coreboot image for gru/kevin still builds fine. Change-Id: Id3a01f7afbddc98b4d14125452ae6a571f1b19cb Signed-off-by: Martin Roth <martinroth@chromium.org> Original-Commit-Id: 9375eef5a3f5ed2ba216b1cc8a4ce5c78ebe53d8 Original-Change-Id: I89b46900e5356989f2683d671552ecca5103ef90 Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/358093 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/15608 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/tpm2_tlcl_structures.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/lib/tpm2_tlcl_structures.h b/src/lib/tpm2_tlcl_structures.h
index 1bf3abc09e..d05c564669 100644
--- a/src/lib/tpm2_tlcl_structures.h
+++ b/src/lib/tpm2_tlcl_structures.h
@@ -47,28 +47,6 @@ typedef struct {
uint8_t *buffer;
} TPM2B;
-typedef union {
- uint8_t body[512];
-} TPMU_HA;
-
-typedef struct {
- TPMI_ALG_HASH hashAlg;
- TPMU_HA digest;
-} TPMT_HA;
-
-typedef union {
- TPMT_HA digest;
- TPM_HANDLE handle;
-} TPMU_NAME;
-
-typedef union {
- struct {
- uint16_t size;
- uint8_t name[sizeof(TPMU_NAME)];
- } t;
- TPM2B b;
-} TPM2B_NAME;
-
/* Relevant TPM Command's structures. */
/* Common command/response header. */
struct tpm_header {