diff options
author | Claudio Carvalho <cclaudio@linux.vnet.ibm.com> | 2016-09-28 05:01:24 -0300 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-10-10 15:29:35 +1100 |
commit | 17413385499932594e3d4a3fe21726bf96944b8d (patch) | |
tree | 219cbf8696aeaaba1052894cde13d16da892765a /libstb/tss/tpmLogMgr.H | |
parent | 282fff649acd0c1a7462c152506814f74341e057 (diff) | |
download | skiboot-17413385499932594e3d4a3fe21726bf96944b8d.zip skiboot-17413385499932594e3d4a3fe21726bf96944b8d.tar.gz skiboot-17413385499932594e3d4a3fe21726bf96944b8d.tar.bz2 |
libstb/tss/tpmLogMgr: disable TpmLogMgr_dumpLog()
This disables the TpmLogMgr_dumpLog() function for skiboot.
It breaks the compilation if TRACUCOMP and TRACUBIN macros
are not defined.
Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libstb/tss/tpmLogMgr.H')
-rw-r--r-- | libstb/tss/tpmLogMgr.H | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libstb/tss/tpmLogMgr.H b/libstb/tss/tpmLogMgr.H index 5a44b9d..26b8604 100644 --- a/libstb/tss/tpmLogMgr.H +++ b/libstb/tss/tpmLogMgr.H @@ -222,12 +222,13 @@ namespace TRUSTEDBOOT const uint8_t* i_digest_2, size_t i_digestSize_2, const char* i_logMsg); - +#ifdef __HOSTBOOT_MODULE /** * @brief Dump contents of log to a trace * @param[in] val TpmLogMgr structure */ void TpmLogMgr_dumpLog(TpmLogMgr* val); +#endif /** * @brief Return a pointer to the start of the log |