path: root/src/runtime/rt_main.C
diff options
authorMatt Derksen <>2018-02-26 09:16:08 -0600
committerDaniel M. Crowell <>2018-03-07 12:54:24 -0500
commit843b9e02e55dbb39a2573e83efac9f412d30469a (patch)
tree41d09dd0c1b9ab39fef706feb0f862025d1af1a4 /src/runtime/rt_main.C
parent5ca1d497141ad56ed8510d621b1e522c1c9fe7dd (diff)
Initialize FIRDATA section and ErrlManager just incase BMC resets
PRD needs to read the PNOR to tell OCC where to write in the pnor. This will cache the PNOR section so PRD will not fail the read call. If an error is created with pnor inaccessible, errl manager could get stuck unless it was initialized first. Change-Id: Ia7212bf99e947a1016423b37aff6f13ddfc7190a CQ:SW412798 Reviewed-on: Reviewed-by: Martin Gloff <> Tested-by: Jenkins Server <> Tested-by: Jenkins OP Build CI <> Reviewed-by: Roland Veloz <> Tested-by: Jenkins OP HW <> Tested-by: FSP CI Jenkins <> CI-Ready: Daniel M. Crowell <> Reviewed-by: Daniel M. Crowell <>
Diffstat (limited to 'src/runtime/rt_main.C')
1 files changed, 7 insertions, 0 deletions
diff --git a/src/runtime/rt_main.C b/src/runtime/rt_main.C
index bb0d43d70..19a15e518 100644
--- a/src/runtime/rt_main.C
+++ b/src/runtime/rt_main.C
@@ -132,6 +132,13 @@ runtimeInterfaces_t* rt_start(hostInterfaces_t* intf)
postInitCalls_t* rtPost = getPostInitCalls();
+ // load FIRDATA section into memory so PRD can access
+ // when PNOR is no longer accessible (ie SBE reboot)
+ rtPost->callInitPnor();
+ // Make sure errlmanager is ready
+ rtPost->callInitErrlManager();
// check for possible missed in-flight messages/interrupts
OpenPOWER on IntegriCloud