[Skiboot] [PATCH 15/40] libstb/tpm_chip.h: declare the TpmTarget type for TSS

Stewart Smith stewart at linux.vnet.ibm.com
Mon Oct 10 19:43:56 AEDT 2016


From: Claudio Carvalho <cclaudio at linux.vnet.ibm.com>

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 at linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
 libstb/tpm_chip.h | 3 +++
 1 file changed, 3 insertions(+)

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.
  */
-- 
2.7.4



More information about the Skiboot mailing list