[Skiboot] [PATCH 16/40] libstb/tss: include tpm_chip.h in trustedbootCmds.H

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


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

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>
Signed-off-by: Stewart Smith <stewart 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"
-- 
2.7.4



More information about the Skiboot mailing list