diff options
author | Mike Jones <mjjones@us.ibm.com> | 2012-07-11 16:25:28 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-07-16 14:15:07 -0500 |
commit | d36ed97ae96d57cf63171f30a0154e5cf0e74925 (patch) | |
tree | 9db776b6dc357dc6416c8227a26423b44c7250bc /src/usr/hwpf/hwp/nest_chiplets/nest_chiplets.C | |
parent | 108e5b64916ae16346e6d8b67b0f75468b251062 (diff) | |
download | talos-hostboot-d36ed97ae96d57cf63171f30a0154e5cf0e74925.tar.gz talos-hostboot-d36ed97ae96d57cf63171f30a0154e5cf0e74925.zip |
Add proc_scomoverride_chiplets stub to Hostboot
Change-Id: I561f168d7679dfb290f615eaade20493efc64695
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1340
Tested-by: Jenkins Server
Reviewed-by: Van H. Lee <vanlee@us.ibm.com>
Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/nest_chiplets/nest_chiplets.C')
-rw-r--r-- | src/usr/hwpf/hwp/nest_chiplets/nest_chiplets.C | 46 |
1 files changed, 7 insertions, 39 deletions
diff --git a/src/usr/hwpf/hwp/nest_chiplets/nest_chiplets.C b/src/usr/hwpf/hwp/nest_chiplets/nest_chiplets.C index 7aae8fcdd..8af4ee023 100644 --- a/src/usr/hwpf/hwp/nest_chiplets/nest_chiplets.C +++ b/src/usr/hwpf/hwp/nest_chiplets/nest_chiplets.C @@ -59,10 +59,10 @@ #include "nest_chiplets.H" #include "proc_start_clocks_chiplets/proc_start_clocks_chiplets.H" #include "proc_chiplet_scominit/proc_chiplet_scominit.H" +#include "proc_scomoverride_chiplets/proc_scomoverride_chiplets.H" // Uncomment these files as they become available: // #include "proc_a_x_pci_dmi_pll_setup/proc_a_x_pci_dmi_pll_setup.H" -// #include "proc_scomoverride_chiplets/proc_scomoverride_chiplets.H" namespace NEST_CHIPLETS { @@ -280,51 +280,19 @@ void call_proc_scomoverride_chiplets( void *io_pArgs ) errlHndl_t l_errl = NULL; TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "call_proc_scomoverride_chiplets 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) - - // print call to hwp and dump physical path of the target(s) - TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, - "===== proc_scomoverride_chiplets HWP(? ? ? )", - ? - ? - ? ); - // dump physical path to targets - EntityPath l_path; - l_path = l_@targetN_target->getAttr<ATTR_PHYS_PATH>(); - l_path.dump(); - TRACFCOMP( g_trac_mc_init, "===== " ); - // 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)) ); - - // call the HWP with each fapi::Target - l_fapirc = proc_scomoverride_chiplets( ? , ?, ? ); + FAPI_INVOKE_HWP(l_errl, proc_scomoverride_chiplets); - // process return code. - if ( l_fapirc== fapi::FAPI_RC_SUCCESS ) + if (l_errl) { - TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, - "SUCCESS : proc_scomoverride_chiplets HWP(? ? ? )" ); + TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace, "ERROR 0x%.8X : proc_scomoverride_chiplets HWP returns error", + l_errl->reasonCode()); } else { - /** - * @todo fapi error - just print out for now... - */ - TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, - "ERROR 0x%.8X: proc_scomoverride_chiplets HWP(? ? ?) ", - static_cast<uint32_t>(l_fapirc) ); + TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace, "SUCCESS : proc_scomoverride_chiplets HWP"); } - // @@@@@ END CUSTOM BLOCK: @@@@@ -#endif + TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "call_proc_scomoverride_chiplets exit" ); |