[Skiboot] [PATCH v2 22/31] libstb/tss: include tpm_chip.h in trustedbootCmds.H

Claudio Carvalho cclaudio at linux.vnet.ibm.com
Wed Sep 28 18:01:21 AEST 2016


TrustedbootCmds.H defines TpmTarget type variables, but this type is
declared only in tpm_chip.h.

This includes tpm_chip.h in trustedbootCmds.H.

Signed-off-by: Claudio Carvalho <cclaudio at linux.vnet.ibm.com>
---
 libstb/tss/trustedbootCmds.H | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libstb/tss/trustedbootCmds.H b/libstb/tss/trustedbootCmds.H
index 1f03eeb..64affe9 100644
--- a/libstb/tss/trustedbootCmds.H
+++ b/libstb/tss/trustedbootCmds.H
@@ -39,6 +39,9 @@
 // -----------------------------------------------
 #ifdef __HOSTBOOT_MODULE
 #include <secureboot/trustedbootif.H>
+#else
+#include "trustedbootUtils.H"
+#include "../tpm_chip.h"
 #endif
 #include "trustedboot.H"
 #include "trustedTypes.H"
-- 
1.9.1



More information about the Skiboot mailing list