diff options
author | Elizabeth Liner <eliner@us.ibm.com> | 2015-05-26 16:35:35 -0500 |
---|---|---|
committer | Patrick Williams <iawillia@us.ibm.com> | 2015-12-11 13:56:27 -0600 |
commit | 12bdd1a279cf7913b5da2010c8cbbc7ccfacf0a6 (patch) | |
tree | 376d9128fcb12ad04438794abbaf06d5005a7d99 /src/usr/hwpf/hwp/edi_ei_initialization | |
parent | c42a8d760ac7ea3b8529b6ff04d93dc9ac4e0add (diff) | |
download | talos-hostboot-12bdd1a279cf7913b5da2010c8cbbc7ccfacf0a6.tar.gz talos-hostboot-12bdd1a279cf7913b5da2010c8cbbc7ccfacf0a6.zip |
P9 - added new HWP's and removed old functions
Change-Id: Id64878834504858e7febf110bf50413ffaca0b73
RTC: 127334
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17966
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/edi_ei_initialization')
-rw-r--r-- | src/usr/hwpf/hwp/edi_ei_initialization/edi_ei_initialization.C | 48 | ||||
-rw-r--r-- | src/usr/hwpf/hwp/edi_ei_initialization/edi_ei_initialization.H | 20 |
2 files changed, 48 insertions, 20 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 98a398a1e..29b4937e8 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 @@ -29,10 +29,6 @@ * Support file for IStep: edi_ei_initialization * EDI, EI Initialization * - * ***************************************************************** - * THIS FILE WAS GENERATED ON 2012-04-11:1606 - * ***************************************************************** - * * HWP_IGNORE_VERSION_CHECK * */ @@ -218,11 +214,11 @@ void* call_fabric_erepair( void *io_pArgs ) // call the io_restore_erepair HWP to restore eRepair // lanes of endp1 - FAPI_INVOKE_HWP(l_errl, - io_restore_erepair, - l_fapi_endp1_target, - l_endp1_txFaillanes, - l_endp1_rxFaillanes); + //FAPI_INVOKE_HWP(l_errl, + // p9_io_restore_erepair, + // l_fapi_endp1_target, + // l_endp1_txFaillanes, + // l_endp1_rxFaillanes); } if(l_errl) @@ -371,7 +367,7 @@ void* call_fabric_io_dccal( void *io_pArgs ) (const_cast<TARGETING::Target*>(l_itr->second))); // call the HWP with each bus connection - FAPI_INVOKE_HWP( l_errl, fabric_io_dccal, l_fapi_endp1_target ); + //FAPI_INVOKE_HWP( l_errl, io_dccal, l_fapi_endp1_target ); TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "%s : %cbus connection fabric_io_dccal. Target 0x%.8X", @@ -463,7 +459,8 @@ void* call_fabric_pre_trainadv( void *io_pArgs ) (const_cast<TARGETING::Target*>(l_itr->second))); // call the HWP with each bus connection - FAPI_INVOKE_HWP( l_errl, io_pre_trainadv, l_fapi_endp1_target ); + //FAPI_INVOKE_HWP( l_errl, p9_io_pre_trainadv, + //l_fapi_endp1_target ); TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "%s : %cbus connection fabric_pre_trainadv. Target 0x%.8X", @@ -559,8 +556,8 @@ void* call_fabric_io_run_training( void *io_pArgs ) (const_cast<TARGETING::Target*>(l_itr->second))); // call the HWP with each bus connection - FAPI_INVOKE_HWP( l_errl, fabric_io_run_training, - l_fapi_endp1_target, l_fapi_endp2_target ); + //FAPI_INVOKE_HWP( l_errl, p9_io_run_training, + // l_fapi_endp1_target, l_fapi_endp2_target ); TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "%s : %cbus connection io_run_training", @@ -630,7 +627,8 @@ void* call_fabric_post_trainadv( void *io_pArgs ) (const_cast<TARGETING::Target*>(l_itr->second))); // call the HWP with each bus connection - FAPI_INVOKE_HWP( l_errl, io_post_trainadv, l_fapi_endp1_target ); + //FAPI_INVOKE_HWP( l_errl, p9_io_post_trainadv, + //l_fapi_endp1_target ); TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "%s : %cbus connection fabric_post_trainadv. Target 0x%.8X", @@ -680,6 +678,26 @@ void* call_fabric_post_trainadv( void *io_pArgs ) return l_StepError.getErrorHandle(); } +// +// Wrapper function to call proc_smp_link_layer +// +void* call_proc_smp_link_layer( void *io_pArgs ) +{ + errlHndl_t l_errl = NULL; + IStepError l_StepError; + + TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, + "call_proc_smp_link_layer entry" ); + //call HWP + //FAPI_INVOKE_HWP(l_errl,p9_smp_link_layer); + if(l_errl) + { + l_StepError.addErrorDetails(l_errl); + errlCommit(l_errl, HWPF_COMP_ID); + } + return l_StepError.getErrorHandle(); + +} // // Wrapper function to call host_startprd_pbus @@ -894,7 +912,7 @@ void* call_proc_fab_iovalid( void *io_pArgs ) if (!l_errl) { - FAPI_INVOKE_HWP( l_errl, proc_fab_iovalid, l_smp, true ); + //FAPI_INVOKE_HWP( l_errl, p9_fab_iovalid, l_smp, true ); TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace, "%s : proc_fab_iovalid HWP.", diff --git a/src/usr/hwpf/hwp/edi_ei_initialization/edi_ei_initialization.H b/src/usr/hwpf/hwp/edi_ei_initialization/edi_ei_initialization.H index b95c04218..00985dbae 100644 --- a/src/usr/hwpf/hwp/edi_ei_initialization/edi_ei_initialization.H +++ b/src/usr/hwpf/hwp/edi_ei_initialization/edi_ei_initialization.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -31,10 +33,6 @@ * All of the following routines are "named isteps" - they are invoked as * tasks by the @ref IStepDispatcher. * - * ***************************************************************** - * THIS FILE WAS GENERATED ON 2012-04-11:1606 - * ***************************************************************** - * * HWP_IGNORE_VERSION_CHECK * */ @@ -177,6 +175,18 @@ void* call_fabric_post_trainadv( void *io_pArgs ); /** + * @brief proc_smp_link_layer + * + * param[in,out] - pointer to any arguments, usually NULL + * + * return any errlogs to istep + * + */ +void* call_proc_smp_link_layer( void *io_pArgs ); + + + +/** * @brief host_startprd_pbus * * Load PRD for powerbus domain |