diff options
author | Thi Tran <thi@us.ibm.com> | 2014-01-26 08:23:24 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-02-06 17:17:06 -0600 |
commit | 50e510b8cd01a3b739ae775e937fa1ddb37df4cf (patch) | |
tree | 0bfafb516804242c0b8f5a35a83e6d903db26622 /src/usr/hwpf/hwp/dram_training/mss_ddr_phy_reset/mss_ddr_phy_reset.C | |
parent | 61d6efcd5ec8bab19cc9b1ef25db3cdf55e1aa00 (diff) | |
download | talos-hostboot-50e510b8cd01a3b739ae775e937fa1ddb37df4cf.tar.gz talos-hostboot-50e510b8cd01a3b739ae775e937fa1ddb37df4cf.zip |
INITPROC: Hostboot SW242712 Power Curve Attr updates
Change-Id: I368013d9a27f07dc97cc555d85c618b25b6050a5
CQ:SW242712
Depends-On:I374af9b7e51e26ac91d23ef76387c191374c0392
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8350
Tested-by: Jenkins Server
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/dram_training/mss_ddr_phy_reset/mss_ddr_phy_reset.C')
-rw-r--r-- | src/usr/hwpf/hwp/dram_training/mss_ddr_phy_reset/mss_ddr_phy_reset.C | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/usr/hwpf/hwp/dram_training/mss_ddr_phy_reset/mss_ddr_phy_reset.C b/src/usr/hwpf/hwp/dram_training/mss_ddr_phy_reset/mss_ddr_phy_reset.C index a6a84af6e..30ef0fb7e 100644 --- a/src/usr/hwpf/hwp/dram_training/mss_ddr_phy_reset/mss_ddr_phy_reset.C +++ b/src/usr/hwpf/hwp/dram_training/mss_ddr_phy_reset/mss_ddr_phy_reset.C @@ -5,7 +5,7 @@ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2012,2013 */ +/* COPYRIGHT International Business Machines Corp. 2012,2014 */ /* */ /* p1 */ /* */ @@ -20,7 +20,7 @@ /* Origin: 30 */ /* */ /* IBM_PROLOG_END_TAG */ -// $Id: mss_ddr_phy_reset.C,v 1.26 2013/09/16 20:17:57 mwuu Exp $ +// $Id: mss_ddr_phy_reset.C,v 1.27 2014/01/16 20:54:48 mfred Exp $ // $Source: /afs/awd/projects/eclipz/KnowledgeBase/.cvsroot/eclipz/chips/centaur/working/procedures/ipl/fapi/mss_ddr_phy_reset.C,v $ //------------------------------------------------------------------------------ // *! (C) Copyright International Business Machines Corp. 2011 @@ -427,6 +427,9 @@ fapi::ReturnCode mss_ddr_phy_reset_cloned(const fapi::Target & i_target) { FAPI_ERR("One or more DP18 port 0 (0x0C000) PLL failed to lock! Lock Status = %04X",dp_p0_lock_data.getHalfWord(3)); FAPI_ERR("DP18 PLL lock failed and this chip does not have the known DP18 lock bug."); + const uint16_t & EXPECTED_STATUS = DP18_PLL_EXP_LOCK_STATUS; + const uint16_t ACTUAL_STATUS = dp_p0_lock_data.getHalfWord(3); + const fapi::Target & MBA_IN_ERROR = i_target; FAPI_SET_HWP_ERROR(rc, RC_MSS_DP18_0_PLL_FAILED_TO_LOCK); break; } @@ -447,6 +450,9 @@ fapi::ReturnCode mss_ddr_phy_reset_cloned(const fapi::Target & i_target) { FAPI_ERR("One or more DP18 port 1 (0x1C000) PLL failed to lock! Lock Status = %04X",dp_p1_lock_data.getHalfWord(3)); FAPI_ERR("DP18 PLL lock failed and this chip does not have the known DP18 lock bug."); + const uint16_t & EXPECTED_STATUS = DP18_PLL_EXP_LOCK_STATUS; + const uint16_t ACTUAL_STATUS = dp_p1_lock_data.getHalfWord(3); + const fapi::Target & MBA_IN_ERROR = i_target; FAPI_SET_HWP_ERROR(rc, RC_MSS_DP18_1_PLL_FAILED_TO_LOCK); break; } @@ -459,6 +465,9 @@ fapi::ReturnCode mss_ddr_phy_reset_cloned(const fapi::Target & i_target) if ( ad_p0_lock_data.getHalfWord(3) != AD32S_PLL_EXP_LOCK_STATUS ) { FAPI_ERR("One or more AD32S port 0 (0x0C001) PLL failed to lock! Lock Status = %04X",ad_p0_lock_data.getHalfWord(3)); + const uint16_t & EXPECTED_STATUS = AD32S_PLL_EXP_LOCK_STATUS; + const uint16_t ACTUAL_STATUS = ad_p0_lock_data.getHalfWord(3); + const fapi::Target & MBA_IN_ERROR = i_target; FAPI_SET_HWP_ERROR(rc, RC_MSS_AD32S_0_PLL_FAILED_TO_LOCK); break; } @@ -467,6 +476,9 @@ fapi::ReturnCode mss_ddr_phy_reset_cloned(const fapi::Target & i_target) if ( ad_p1_lock_data.getHalfWord(3) != AD32S_PLL_EXP_LOCK_STATUS ) { FAPI_ERR("One or more AD32S port 1 (0x1C001) PLL failed to lock! Lock Status = %04X",ad_p1_lock_data.getHalfWord(3)); + const uint16_t & EXPECTED_STATUS = AD32S_PLL_EXP_LOCK_STATUS; + const uint16_t ACTUAL_STATUS = ad_p1_lock_data.getHalfWord(3); + const fapi::Target & MBA_IN_ERROR = i_target; FAPI_SET_HWP_ERROR(rc, RC_MSS_AD32S_1_PLL_FAILED_TO_LOCK); break; } @@ -1162,6 +1174,9 @@ This section is automatically updated by CVS when you check in this file. Be sure to create CVS comments when you commit so that they can be included here. $Log: mss_ddr_phy_reset.C,v $ +Revision 1.27 2014/01/16 20:54:48 mfred +Updates for passing more data to error handler. From Mike Jones. + Revision 1.26 2013/09/16 20:17:57 mwuu Cleanup of the calling functions so first fail will run unmask function. |