summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf
diff options
context:
space:
mode:
authorPrachi Gupta <pragupta@us.ibm.com>2015-03-12 15:07:37 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-03-26 07:15:39 -0500
commit75ce7ba7c88e785655c56b50231c7107469b9b30 (patch)
tree357547d11e4825f93d815277517675e08e45d5cc /src/usr/hwpf
parent30e63fce6ed55d1166f340e956c4750276304e10 (diff)
downloadblackbird-hostboot-75ce7ba7c88e785655c56b50231c7107469b9b30.tar.gz
blackbird-hostboot-75ce7ba7c88e785655c56b50231c7107469b9b30.zip
SW294129: INITPROC: FSP&Hostboot - DDR4 freq update
Change-Id: I6b0f97e5246d80752cc0cc4ad9a34e8450d6740b CQ:SW294129 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15632 Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Tested-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16330 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf')
-rw-r--r--src/usr/hwpf/hwp/mc_config/mss_freq/mss_freq.C27
1 files changed, 15 insertions, 12 deletions
diff --git a/src/usr/hwpf/hwp/mc_config/mss_freq/mss_freq.C b/src/usr/hwpf/hwp/mc_config/mss_freq/mss_freq.C
index 560a57a23..6716f7bf2 100644
--- a/src/usr/hwpf/hwp/mc_config/mss_freq/mss_freq.C
+++ b/src/usr/hwpf/hwp/mc_config/mss_freq/mss_freq.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,2015 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -22,10 +22,14 @@
/* permissions and limitations under the License. */
/* */
/* IBM_PROLOG_END_TAG */
-// $Id: mss_freq.C,v 1.29 2014/12/10 23:05:37 jdsloat Exp $
+// $Id: mss_freq.C,v 1.30 2015/01/29 20:28:38 jdsloat Exp $
/* File mss_freq.C created by JEFF SABROWSKI on Fri 21 Oct 2011. */
//------------------------------------------------------------------------------
+// *! (C) Copyright International Business Machines Corp. 2007
+// *! All Rights Reserved -- Property of IBM
+// *! *** ***
+//------------------------------------------------------------------------------
// *! TITLE : mss_freq.C
// *! DESCRIPTION : Tools for centaur procedures
// *! OWNER NAME : Jacob Sloat (jdsloat@us.ibm.com)
@@ -67,6 +71,7 @@
// 1.27 | jdsloat | 03/12/14 | Fixed inf loop bug associated with edit 1.26
// 1.28 | jdsloat | 04/30/14 | Fixed a divide by 0 error opened up by RAS review Edits -- Error HW callouts v1.25
// 1.29 | jdsloat | 12/10/14 | Fixed 1333 speed limitation for config/ Habenero
+// 1.30 | jdsloat | 01/29/14 | Fixed 1600 speed limitation for DDR4
// Add continues to logerrors to lines 650, 560. IN order to avoid possible future problems.
//
@@ -638,7 +643,14 @@ fapi::ReturnCode mss_freq(const fapi::Target &i_target_memb)
// Impose configuration limitations
// Single Drop RDIMMs Cnfgs cannot run faster than 1333
- if ((module_type_group_1 == ENUM_ATTR_SPD_MODULE_TYPE_RDIMM)&&(plug_config == MSS_FREQ_SINGLE_DROP)&&(l_dimm_freq_min > 1333))
+ // DDR4 min speed 1600 and Cen no longer supports 1866.
+ if (l_spd_dram_dev_type == fapi::ENUM_ATTR_SPD_DRAM_DEVICE_TYPE_DDR4)
+ {
+ l_dimm_freq_min = 1600;
+ l_spd_min_tck_max = 1250;
+ FAPI_INF( "DDR4/Centaur limitation. Centaur no longer handles 1866 and 1600 is min speed of DDR4. New Freq: %d", l_dimm_freq_min);
+ }
+ else if ((module_type_group_1 == ENUM_ATTR_SPD_MODULE_TYPE_RDIMM)&&(plug_config == MSS_FREQ_SINGLE_DROP)&&(l_dimm_freq_min > 1333))
{
l_dimm_freq_min = 1333;
l_spd_min_tck_max = 1500;
@@ -658,14 +670,6 @@ fapi::ReturnCode mss_freq(const fapi::Target &i_target_memb)
l_spd_min_tck_max = 1875;
FAPI_INF( "Dual Drop RDIMM with more than 8 Rank Cnfg limitation. New Freq: %d", l_dimm_freq_min);
}
- // DDR4 min speed 1600 and Cen no longer supports 1866.
- else if (l_spd_dram_dev_type == fapi::ENUM_ATTR_SPD_DRAM_DEVICE_TYPE_DDR4)
- {
- l_dimm_freq_min = 1600;
- l_spd_min_tck_max = 1250;
- FAPI_INF( "DDR4/Centaur limitation. Centaur no longer handles 1866 and 1600 is min speed of DDR4. New Freq: %d", l_dimm_freq_min);
- }
-
if ( l_spd_min_tck_max == 0)
{
@@ -1016,4 +1020,3 @@ fapi::ReturnCode mss_freq(const fapi::Target &i_target_memb)
return l_rc;
}
-
OpenPOWER on IntegriCloud