summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/runtime/attrPlatOverride_rt.C
diff options
context:
space:
mode:
authorBrian Stegmiller <bjs@us.ibm.com>2016-02-22 16:20:20 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-06-23 16:21:46 -0400
commite860d319c4e54ca061283fcd2342e4deb38c467d (patch)
treea7bf5319f8ce1d6cd70a27e233501c8007cd43db /src/usr/targeting/runtime/attrPlatOverride_rt.C
parent49eae5fb8adc7df4decb59ad0e788330ba2bff16 (diff)
downloadtalos-hostboot-e860d319c4e54ca061283fcd2342e4deb38c467d.tar.gz
talos-hostboot-e860d319c4e54ca061283fcd2342e4deb38c467d.zip
Support HB runtime data for adjunct partition
Change-Id: I7249f2b195dd02a0ab5a88b53d63cc4a1663cf9d RTC: 138638 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25373 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/runtime/attrPlatOverride_rt.C')
-rw-r--r--src/usr/targeting/runtime/attrPlatOverride_rt.C9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/usr/targeting/runtime/attrPlatOverride_rt.C b/src/usr/targeting/runtime/attrPlatOverride_rt.C
index 9a5498111..537e36464 100644
--- a/src/usr/targeting/runtime/attrPlatOverride_rt.C
+++ b/src/usr/targeting/runtime/attrPlatOverride_rt.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2014,2015 */
+/* Contributors Listed Below - COPYRIGHT 2014,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -31,6 +31,7 @@
//#include <hwpf/plat/fapiPlatAttrOverrideSync.H>
#include <targeting/common/trace.H>
#include <errl/errlmanager.H>
+#include <initservice/initserviceif.H>
using namespace TARGETING;
@@ -92,6 +93,12 @@ int apply_attr_override(uint8_t* i_data,
void applyTempOverrides()
{
+ // With FSP, we can not access PNOR, just return
+ if(INITSERVICE::spBaseServicesEnabled())
+ {
+ return;
+ }
+
TRACFCOMP(g_trac_targeting, ENTER_MRK"applyTempOverrides");
errlHndl_t l_err = NULL;
PNOR::SectionInfo_t l_info;
OpenPOWER on IntegriCloud