summaryrefslogtreecommitdiffstats
path: root/extensions/openpower-pels/private_header.hpp
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2019-09-11 13:32:12 -0500
committerMatt Spinler <spinler@us.ibm.com>2019-09-27 14:26:15 -0500
commit1a94cc38fc2885eac2b7674cc75837debea26eb8 (patch)
tree953f641dc5f0ee5205bd0694c426dda34590d055 /extensions/openpower-pels/private_header.hpp
parentc8705e2bfcc7582fb7dc89ac1598489712c006f3 (diff)
downloadphosphor-logging-1a94cc38fc2885eac2b7674cc75837debea26eb8.tar.gz
phosphor-logging-1a94cc38fc2885eac2b7674cc75837debea26eb8.zip
PEL: Move PEL section IDs into a header file
These will eventually need to be known to a piece of code that unflattens a PEL into the appropriate section class objects based on the section ID field in the PEL data. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I90b9d4be49b2e3807a620745fa663f94f7f4e62c
Diffstat (limited to 'extensions/openpower-pels/private_header.hpp')
-rw-r--r--extensions/openpower-pels/private_header.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/openpower-pels/private_header.hpp b/extensions/openpower-pels/private_header.hpp
index 4a8b330..66126a0 100644
--- a/extensions/openpower-pels/private_header.hpp
+++ b/extensions/openpower-pels/private_header.hpp
@@ -14,8 +14,7 @@ struct CreatorVersion
uint8_t version[8];
};
-static constexpr uint16_t privateHeaderSectionID = 0x5048; // 'PH'
-static constexpr uint16_t privateHeaderVersion = 0x01;
+static constexpr uint8_t privateHeaderVersion = 0x01;
static constexpr uint8_t minSectionCount = 2;
/**
OpenPOWER on IntegriCloud