summaryrefslogtreecommitdiffstats
path: root/extensions/openpower-pels/pel_types.hpp
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2019-09-11 14:29:46 -0500
committerMatt Spinler <spinler@us.ibm.com>2019-09-27 14:26:15 -0500
commit09d6400fb70d5324c0ed026d1084fc51cb495216 (patch)
treed34884de1ee2a7474007ab06eb8e4bae898bae30 /extensions/openpower-pels/pel_types.hpp
parent1a94cc38fc2885eac2b7674cc75837debea26eb8 (diff)
downloadphosphor-logging-09d6400fb70d5324c0ed026d1084fc51cb495216.tar.gz
phosphor-logging-09d6400fb70d5324c0ed026d1084fc51cb495216.zip
PEL: Add FailingMTMS PEL section class
This PEL section contains the Machine Type-Model and Serial number of the enclosure and is required for BMC PELs. In the constructor that creates the section from scratch, it gets those values from the DataInterface class. This commit doesn't hook this section into the PEL class as there are some prerequisites that still need to be done first. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I24d679b57751afb00539691defef180191ea8fc7
Diffstat (limited to 'extensions/openpower-pels/pel_types.hpp')
-rw-r--r--extensions/openpower-pels/pel_types.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/openpower-pels/pel_types.hpp b/extensions/openpower-pels/pel_types.hpp
index 5b4149f..caa75c2 100644
--- a/extensions/openpower-pels/pel_types.hpp
+++ b/extensions/openpower-pels/pel_types.hpp
@@ -5,6 +5,11 @@ namespace openpower
namespace pels
{
+enum class ComponentID
+{
+ phosphorLogging = 0x2000
+};
+
/**
* @brief PEL section IDs
*/
OpenPOWER on IntegriCloud