summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas/common/deconfigGard.C
diff options
context:
space:
mode:
authorBrian Horton <brianh@linux.ibm.com>2015-08-07 16:19:30 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-09-03 16:28:21 -0500
commite4bcc802efacb888b14c666384656f13ee6b5630 (patch)
tree3a0f29477e91cf63ace0b89a0184a4dbc60ba4c6 /src/usr/hwas/common/deconfigGard.C
parent0579143faea0a19bd4133ce5179855ec7dc3c9b7 (diff)
downloadtalos-hostboot-e4bcc802efacb888b14c666384656f13ee6b5630.tar.gz
talos-hostboot-e4bcc802efacb888b14c666384656f13ee6b5630.zip
enable saving GARD records to PNOR in runtime.
Change-Id: I1ada7061d8fb258431b64c8e02bf84b019f7b25c CQ: SW315645 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19661 Tested-by: Jenkins Server Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Tested-by: Jenkins OP Build CI Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwas/common/deconfigGard.C')
-rw-r--r--src/usr/hwas/common/deconfigGard.C6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/usr/hwas/common/deconfigGard.C b/src/usr/hwas/common/deconfigGard.C
index ce4a174ec..fa266c881 100644
--- a/src/usr/hwas/common/deconfigGard.C
+++ b/src/usr/hwas/common/deconfigGard.C
@@ -58,6 +58,7 @@ namespace HWAS
using namespace HWAS::COMMON;
using namespace TARGETING;
+#ifndef __HOSTBOOT_RUNTIME
//******************************************************************************
errlHndl_t collectGard(const PredicateBase *i_pPredicate)
{
@@ -100,6 +101,7 @@ errlHndl_t collectGard(const PredicateBase *i_pPredicate)
}
return errl;
} // collectGard
+#endif
//******************************************************************************
DeconfigGard & theDeconfigGard()
@@ -123,6 +125,8 @@ DeconfigGard::~DeconfigGard()
HWAS_MUTEX_DESTROY(iv_mutex);
free(iv_platDeconfigGard);
}
+
+#ifndef __HOSTBOOT_RUNTIME
//******************************************************************************
errlHndl_t DeconfigGard::applyGardRecord(Target *i_pTarget,
GardRecord &i_gardRecord,
@@ -178,6 +182,7 @@ errlHndl_t DeconfigGard::applyGardRecord(Target *i_pTarget,
while(0);
return l_pErr;
}//applyGardRecord
+
//******************************************************************************
errlHndl_t DeconfigGard::clearGardRecordsForReplacedTargets()
{
@@ -2442,5 +2447,6 @@ void DeconfigGard::_clearFCODeconfigure(ConstTargetHandle_t i_nodeTarget)
}
}
}
+#endif
} // namespce HWAS
OpenPOWER on IntegriCloud