aboutsummaryrefslogtreecommitdiff
path: root/libstb
diff options
context:
space:
mode:
authorClaudio Carvalho <cclaudio@linux.vnet.ibm.com>2016-09-28 05:01:20 -0300
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-10-10 15:29:35 +1100
commit5078e0fe356c9376525ac2d1a07d90a6219b5ee0 (patch)
treebb78a89ff618c471476e0cd21b7a499de6d53d39 /libstb
parent8ca56ddb46ab07da881adceefa0030c2aa7d9da6 (diff)
downloadskiboot-5078e0fe356c9376525ac2d1a07d90a6219b5ee0.zip
skiboot-5078e0fe356c9376525ac2d1a07d90a6219b5ee0.tar.gz
skiboot-5078e0fe356c9376525ac2d1a07d90a6219b5ee0.tar.bz2
libstb/tpm_chip.h: declare the TpmTarget type for TSS
This declares the TpmTarget for TSS. This could be done in 'libstb/tss/trustedboot.H', but it causes a dependency cycle among trustedboot.H, trustedTypes.H and tpm_chip.h. Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libstb')
-rw-r--r--libstb/tpm_chip.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libstb/tpm_chip.h b/libstb/tpm_chip.h
index 70f5c97..ca30e3b 100644
--- a/libstb/tpm_chip.h
+++ b/libstb/tpm_chip.h
@@ -58,6 +58,9 @@ struct tpm_chip {
struct list_node link;
};
+/* TSS tweak */
+typedef struct tpm_chip TpmTarget;
+
/*
* Register a tpm chip by binding the driver to dev.
*/