summaryrefslogtreecommitdiffstats
path: root/src/include/usr/errl
diff options
context:
space:
mode:
authorPrachi Gupta <pragupta@us.ibm.com>2017-03-20 11:07:49 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-05-01 11:44:49 -0400
commit142a25c1a3453d0cc5bac4a93a2765e60a281d2d (patch)
tree2d19105bb0e21d7dceae6e5b9a6874acb643f6df /src/include/usr/errl
parentab73555da035ad1193d3490fcb7be86bdf91c43a (diff)
downloadtalos-hostboot-142a25c1a3453d0cc5bac4a93a2765e60a281d2d.tar.gz
talos-hostboot-142a25c1a3453d0cc5bac4a93a2765e60a281d2d.zip
move all non-volatile/openpower attributes from _hb to _openpower files
When pushing hb's attr/target type files to common-mrw-xml repo, we add tags to represent which attributes are for openpower (bmc based system) and which are for fsp based systems. All attributes in _hb files are considered common for both platforms and do not have any tag. All attributes in _openpower will get openpower tag and be only shown to a system engineer if they are building a bmc based system. Therefore, the source of the attribute file is important from now on. Change-Id: I213348f4c4f372b0610b07ad3453f08f75d02224 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38161 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/errl')
-rw-r--r--src/include/usr/errl/errlentry.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/usr/errl/errlentry.H b/src/include/usr/errl/errlentry.H
index 65f1c7240..aea539062 100644
--- a/src/include/usr/errl/errlentry.H
+++ b/src/include/usr/errl/errlentry.H
@@ -726,6 +726,7 @@ private:
*/
void addHbBuildId();
+#ifdef CONFIG_BMC_IPMI
/**
* @brief called by addHwCallout to retrieve the serial and part number
* from the current target. If the current target does not contain
@@ -735,6 +736,7 @@ private:
* @param[in] i_target The target to get the numbers for
*/
void addPartAndSerialNumbersToErrLog(const TARGETING::Target * i_target);
+#endif
/**
* @brief set iv_skipShowingLogs
OpenPOWER on IntegriCloud