summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp/activate_powerbus/activate_powerbus.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/hwpf/hwp/activate_powerbus/activate_powerbus.C')
-rw-r--r--src/usr/hwpf/hwp/activate_powerbus/activate_powerbus.C25
1 files changed, 20 insertions, 5 deletions
diff --git a/src/usr/hwpf/hwp/activate_powerbus/activate_powerbus.C b/src/usr/hwpf/hwp/activate_powerbus/activate_powerbus.C
index 1bcd6c6cd..44513ef98 100644
--- a/src/usr/hwpf/hwp/activate_powerbus/activate_powerbus.C
+++ b/src/usr/hwpf/hwp/activate_powerbus/activate_powerbus.C
@@ -54,6 +54,7 @@
// targeting support
#include <targeting/common/commontargeting.H>
#include <targeting/common/utilFilter.H>
+#include <targeting/common/target.H>
// fapi support
#include <fapi.H>
@@ -370,14 +371,28 @@ void * call_host_slave_sbe_update( void * io_pArgs )
}
// Call to Validate any Alternative Master's connection to PNOR
+ // Only call this in MNFG mode
// Any error returned should not fail istep
- l_errl = PNOR::validateAltMaster();
- if (l_errl)
+
+ // Get target service and the system target
+ TargetService& tS = targetService();
+ TARGETING::Target* sys = NULL;
+ (void) tS.getTopLevelTarget( sys );
+ assert(sys, "call_host_slave_sbe_update() system target is NULL");
+
+ TARGETING::ATTR_MNFG_FLAGS_type mnfg_flags;
+ mnfg_flags = sys->getAttr<TARGETING::ATTR_MNFG_FLAGS>();
+ if ( mnfg_flags & MNFG_FLAG_THRESHOLDS )
{
- // Commit error
- errlCommit( l_errl, HWPF_COMP_ID );
- break;
+ l_errl = PNOR::validateAltMaster();
+ if (l_errl)
+ {
+ // Commit error
+ errlCommit( l_errl, HWPF_COMP_ID );
+ break;
+ }
}
+
} while (0);
TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
OpenPOWER on IntegriCloud