summaryrefslogtreecommitdiffstats
path: root/src/usr/errl
diff options
context:
space:
mode:
authorLuis Fernandez <Luis.Fernandez@ibm.com>2019-04-04 13:48:43 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-04-05 16:52:13 -0500
commitacd09d45c209ec014825cb7539aaab357493ea42 (patch)
tree4b8545c610c97db9b433eaa938456c79ad74738c /src/usr/errl
parent4995ec0ba6f15e03deb4b9ad1dc215f3f8993acb (diff)
downloadtalos-hostboot-acd09d45c209ec014825cb7539aaab357493ea42.tar.gz
talos-hostboot-acd09d45c209ec014825cb7539aaab357493ea42.zip
HB Improvements: Compiler Issues with Different Config Files
Fixed compiler issues with Witherspoon, Romulus, Zaius, Boston. Change-Id: Ic4046323eb391be6ec311bc408ef9d858ceff8cd RTC: 202716 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75552 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/errl')
-rw-r--r--src/usr/errl/errlentry.C8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/usr/errl/errlentry.C b/src/usr/errl/errlentry.C
index 1cf309cdc..61eeb15f2 100644
--- a/src/usr/errl/errlentry.C
+++ b/src/usr/errl/errlentry.C
@@ -704,8 +704,14 @@ void ErrlEntry::addVersionInfo()
if ( !INITSERVICE::spBaseServicesEnabled()
&& PNOR::isSectionAvailable(PNOR::VERSION))
{
+
+// Setting variables only used in config secureboot
+#ifdef CONFIG_SECUREBOOT
bool l_secureSectionLoaded = false;
- errlHndl_t l_errl = nullptr, l_errl_loadSecureSection = nullptr;
+ errlHndl_t l_errl_loadSecureSection = nullptr;
+#endif
+
+ errlHndl_t l_errl = nullptr;
do
{
OpenPOWER on IntegriCloud