[Skiboot] [PATCH v2 21/31] libstb/tpm_chip.h: declare the TpmTarget type for TSS
Claudio Carvalho
cclaudio at linux.vnet.ibm.com
Wed Sep 28 18:01:20 AEST 2016
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>
---
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.
*/
--
1.9.1
More information about the Skiboot
mailing list