From e8ed2240c44d6dc2988db0c9bb4a5d9d8ce4093e Mon Sep 17 00:00:00 2001 From: Chris Phan Date: Thu, 8 Nov 2012 10:10:15 -0600 Subject: 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 Tested-by: Jenkins Server --- .../edi_ei_initialization/edi_ei_initialization.C | 36 ++++------------------ 1 file changed, 6 insertions(+), 30 deletions(-) (limited to 'src/usr/hwpf/hwp') 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 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(); - 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 - (const_cast(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 -- cgit v1.2.1