diff options
author | Thi Tran <thi@us.ibm.com> | 2014-05-14 11:07:54 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-05-21 12:38:25 -0500 |
commit | 5e77183d34128fa0253bdee11d93739278f402f4 (patch) | |
tree | e4966e0d15283f31a062a93a0bff009c202102df /src/usr | |
parent | 13fa44163711918a9c7f278e1ab2473ebb3ad590 (diff) | |
download | talos-hostboot-5e77183d34128fa0253bdee11d93739278f402f4.tar.gz talos-hostboot-5e77183d34128fa0253bdee11d93739278f402f4.zip |
SW261020: INITPROC: HWP: mss_get_cenecid.C INITSTATE attribute setting
Change-Id: I1c8347e8098745b9c0d3a571bdb1c78f200eaf27
CQ:SW261020
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11100
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Tested-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11102
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/hwpf/hwp/dmi_training/mss_getecid/mss_get_cen_ecid.C | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/usr/hwpf/hwp/dmi_training/mss_getecid/mss_get_cen_ecid.C b/src/usr/hwpf/hwp/dmi_training/mss_getecid/mss_get_cen_ecid.C index 6280e3840..d8f675b23 100644 --- a/src/usr/hwpf/hwp/dmi_training/mss_getecid/mss_get_cen_ecid.C +++ b/src/usr/hwpf/hwp/dmi_training/mss_getecid/mss_get_cen_ecid.C @@ -20,7 +20,7 @@ /* Origin: 30 */ /* */ /* IBM_PROLOG_END_TAG */ -// $Id: mss_get_cen_ecid.C,v 1.31 2014/03/25 21:08:53 uid157495 Exp $ +// $Id: mss_get_cen_ecid.C,v 1.32 2014/05/08 18:52:38 lapietra Exp $ //------------------------------------------------------------------------------ // *| // *! (C) Copyright International Business Machines Corp. 2012 @@ -39,6 +39,7 @@ //------------------------------------------------------------------------------ // Version:| Author: | Date: | Comment: //---------|----------|---------|----------------------------------------------- +// 1.32 | sglancy |08-MAY-14| Changed location of the setting ATTR_MSS_INIT_STATE to track IPL states // 1.31 | sglancy |25-MAR-14| RAS review updates // 1.30 | bellows |11-NOV-13| Gerrit review updates // 1.29 | bellows |08-NOV-13| Added ATTR_MSS_INIT_STATE to track IPL states @@ -99,6 +100,14 @@ using namespace fapi; // return code fapi::ReturnCode rc; + + // set the init state attribute to CLOCKS_ON + uint8_t l_attr_mss_init_state; + l_attr_mss_init_state=ENUM_ATTR_MSS_INIT_STATE_CLOCKS_ON; + rc = FAPI_ATTR_SET(ATTR_MSS_INIT_STATE, &i_target, l_attr_mss_init_state); + if(rc) return rc; + + if(ecid_struct.valid) { rc = mss_parse_ecid(ecid_struct.io_ecid, @@ -111,15 +120,7 @@ using namespace fapi; ecid_struct.o_psro, ecid_struct.o_bluewaterfall_broken, ecid_struct.o_nwell_misplacement ); - if(rc) return rc; - - // set the init state attribute to CLOCKS_ON - uint8_t l_attr_mss_init_state; - l_attr_mss_init_state=ENUM_ATTR_MSS_INIT_STATE_CLOCKS_ON; - rc = FAPI_ATTR_SET(ATTR_MSS_INIT_STATE, &i_target, l_attr_mss_init_state); - if(rc) return rc; - - // If struct was valid, and the MSS_INIT_STATE set successfully, + // procedure is done. return rc; } |