diff options
author | Prachi Gupta <pragupta@us.ibm.com> | 2018-05-04 08:53:05 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-05-07 11:51:15 -0400 |
commit | 3c73a7c369ce2eebdd53c7672aceddd48d436b3f (patch) | |
tree | 624964774103c524d35f43e843c1d5c2cc275ec4 /src/usr/isteps/istep10/call_proc_chiplet_scominit.C | |
parent | 1af47d2a9aef6d4cb5144cc4c219e58f15eedce3 (diff) | |
download | talos-hostboot-3c73a7c369ce2eebdd53c7672aceddd48d436b3f.tar.gz talos-hostboot-3c73a7c369ce2eebdd53c7672aceddd48d436b3f.zip |
wrap test: Use MNFG_FLAGS instead of compile time flag
Change-Id: I347075dd2424ee8b96805456b3d7d9962f428b64
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58347
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>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: Roland Veloz <rveloz@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/isteps/istep10/call_proc_chiplet_scominit.C')
-rw-r--r-- | src/usr/isteps/istep10/call_proc_chiplet_scominit.C | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/usr/isteps/istep10/call_proc_chiplet_scominit.C b/src/usr/isteps/istep10/call_proc_chiplet_scominit.C index 51fd78fa0..6493aa7d1 100644 --- a/src/usr/isteps/istep10/call_proc_chiplet_scominit.C +++ b/src/usr/isteps/istep10/call_proc_chiplet_scominit.C @@ -50,7 +50,7 @@ // Tracing support #include <trace/interface.H> // TRACFCOMP #include <initservice/isteps_trace.H> // g_trac_isteps_trace - +#include <initservice/initserviceif.H> // isSMPWrapConfig // HWP call support #include <nest/nestHwpHelperFuncs.H> // fapiHWPCallWrapperForChip @@ -74,14 +74,15 @@ void* call_proc_chiplet_scominit( void *io_pArgs ) TRACFCOMP(g_trac_isteps_trace, ENTER_MRK"call_proc_chiplet_scominit entry" ); -#ifndef CONFIG_SMP_WRAP_TEST - // Make the FAPI call to p9_chiplet_scominit - // Make the FAPI call to p9_psi_scominit, if previous call succeeded - fapiHWPCallWrapperHandler(P9_CHIPLET_SCOMINIT, l_stepError, - HWPF_COMP_ID, TYPE_PROC) && - fapiHWPCallWrapperHandler(P9_PSI_SCOMINIT, l_stepError, - HWPF_COMP_ID, TYPE_PROC); -#endif + if (!INITSERVICE::isSMPWrapConfig()) + { + // Make the FAPI call to p9_chiplet_scominit + // Make the FAPI call to p9_psi_scominit, if previous call succeeded + fapiHWPCallWrapperHandler(P9_CHIPLET_SCOMINIT, l_stepError, + HWPF_COMP_ID, TYPE_PROC) && + fapiHWPCallWrapperHandler(P9_PSI_SCOMINIT, l_stepError, + HWPF_COMP_ID, TYPE_PROC); + } // Enable TCEs with an empty TCE Table, if necessary // This will prevent the FSP from DMAing to system memory without |