summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp
diff options
context:
space:
mode:
authorChris Phan <cphan@us.ibm.com>2012-11-08 10:10:15 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-11-08 11:12:32 -0600
commite8ed2240c44d6dc2988db0c9bb4a5d9d8ce4093e (patch)
treec8371f7d09f029c6a0b42794ee34b7945cebbae9 /src/usr/hwpf/hwp
parentcbd2b28c0ab8d5ba205265ad54d6f0bee2ada7cd (diff)
downloadblackbird-hostboot-e8ed2240c44d6dc2988db0c9bb4a5d9d8ce4093e.tar.gz
blackbird-hostboot-e8ed2240c44d6dc2988db0c9bb4a5d9d8ce4093e.zip
Add PRD Config Build to call_host_startPRD_pbus
- In Hostboot IPL, PRD model could be built at step 8 (PowerBus), step 10 (hwreconfig loop), step 11 (DMI), and step 14 (DRAM). - At step 8, PRD model should have all present chips. - Since PRD analysis is based on the chip list passed to us by ATTN, the list should only contain functional chips. Thus, it's ok to keep the full PRD model built from step 8 to be used for later isteps. RTC: 49741 Change-Id: Ie650bda699f0257982f4572d6ea36f699b9badf5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2273 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
Diffstat (limited to 'src/usr/hwpf/hwp')
-rw-r--r--src/usr/hwpf/hwp/edi_ei_initialization/edi_ei_initialization.C36
1 files changed, 6 insertions, 30 deletions
diff --git a/src/usr/hwpf/hwp/edi_ei_initialization/edi_ei_initialization.C b/src/usr/hwpf/hwp/edi_ei_initialization/edi_ei_initialization.C
index dd7115907..4155558d1 100644
--- a/src/usr/hwpf/hwp/edi_ei_initialization/edi_ei_initialization.C
+++ b/src/usr/hwpf/hwp/edi_ei_initialization/edi_ei_initialization.C
@@ -72,6 +72,7 @@
// #include "host_startPRD_pbus/host_startPRD_pbus.H"
// #include "host_attnlisten_proc/host_attnlisten_proc.H"
#include "proc_fab_iovalid/proc_fab_iovalid.H"
+#include <diag/prdf/prdfMain.H>
namespace EDI_EI_INITIALIZATION
{
@@ -386,43 +387,18 @@ void* call_host_startPRD_pbus( void *io_pArgs )
{
errlHndl_t l_errl = NULL;
- TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
+ TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
"call_host_startPRD_pbus entry" );
-#if 0
- // @@@@@ CUSTOM BLOCK: @@@@@
- // figure out what targets we need
- // customize any other inputs
- // set up loops to go through all targets (if parallel, spin off a task)
-
- // dump physical path to targets
- EntityPath l_path;
- l_path = l_@targetN_target->getAttr<ATTR_PHYS_PATH>();
- l_path.dump();
-
- // cast OUR type of target to a FAPI type of target.
- const fapi::Target l_fapi_@targetN_target(
- TARGET_TYPE_MEMBUF_CHIP,
- reinterpret_cast<void *>
- (const_cast<TARGETING::Target*>(l_@targetN_target)) );
+ l_errl = PRDF::initialize();
- // call the HWP with each fapi::Target
- FAPI_INVOKE_HWP( l_errl, host_startPRD_pbus, _args_...);
- if ( l_errl )
+ if (l_errl)
{
TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace,
- "ERROR : .........." );
- errlCommit( l_errl, HWPF_COMP_ID );
- }
- else
- {
- TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
- "SUCCESS : .........." );
+ "Error returned from call to PRDF::initialize");
}
- // @@@@@ END CUSTOM BLOCK: @@@@@
-#endif
- TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
+ TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
"call_host_startPRD_pbus exit" );
// end task, returning any errorlogs to IStepDisp
OpenPOWER on IntegriCloud