summaryrefslogtreecommitdiffstats
path: root/src/usr/runtime/common
diff options
context:
space:
mode:
authorMatt Raybuck <mraybuc@us.ibm.com>2018-11-15 09:45:07 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-11-27 13:47:16 -0600
commit022f2d75d80d7ac11abec2e87da76b8691d0498b (patch)
tree6df0d37f51e0a2f2a55eb9a987e1ed07530dc8ea /src/usr/runtime/common
parentb08f9e7eb4a76ed813b0596b4b0eab30070cb3a4 (diff)
downloadtalos-hostboot-022f2d75d80d7ac11abec2e87da76b8691d0498b.tar.gz
talos-hostboot-022f2d75d80d7ac11abec2e87da76b8691d0498b.zip
Add VERSION to all OpenPOWER HBRT error logs
Now that the VERSION partition is a secure section, in order to have the version info in all runtime error logs the VERSION section has been put into reserved memory which can then be loaded and added to all HBRT OpenPOWER error logs. Change-Id: Iaf74d19270f8221710f30834097e131f4dadeeba RTC:200439 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68855 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> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/runtime/common')
-rw-r--r--src/usr/runtime/common/runtime_utils.C3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/runtime/common/runtime_utils.C b/src/usr/runtime/common/runtime_utils.C
index d87847f85..ba15de167 100644
--- a/src/usr/runtime/common/runtime_utils.C
+++ b/src/usr/runtime/common/runtime_utils.C
@@ -37,6 +37,7 @@ const PreVerifyVector preVerifiedPnorSections {
{PNOR::OCC, true},
{PNOR::WOFDATA, true},
{PNOR::HCODE, true},
+ {PNOR::VERSION, true},
{PNOR::RINGOVD, false},
};
@@ -76,4 +77,4 @@ bool isPreVerifiedSectionSecure(const PNOR::SectionId i_section)
return l_result;
}
-} \ No newline at end of file
+}
OpenPOWER on IntegriCloud