summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTsung Yeung <tyeung@us.ibm.com>2018-05-23 17:11:42 -0400
committerChristian R. Geddes <crgeddes@us.ibm.com>2018-06-29 10:12:04 -0400
commit7ec5dcab3d1d0515554ef816e8e3775715b602e4 (patch)
tree069376c271c8b75a20d966ce31735e2e3bf83a5b /src
parent1a90c43704935d8ed473de51870c820350f5e773 (diff)
downloadtalos-hostboot-7ec5dcab3d1d0515554ef816e8e3775715b602e4.tar.gz
talos-hostboot-7ec5dcab3d1d0515554ef816e8e3775715b602e4.zip
Default DDR4-2933 to 2666
Change-Id: I35d42b6de047b24c64521b427a5c8514c2daf4f7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59285 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59289 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/utils/conversions.H12
-rw-r--r--src/import/chips/p9/procedures/xml/attribute_info/memory_mcs_attributes.xml3
2 files changed, 13 insertions, 2 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/utils/conversions.H b/src/import/chips/p9/procedures/hwp/memory/lib/utils/conversions.H
index b18eb9b50..fd476fd82 100644
--- a/src/import/chips/p9/procedures/hwp/memory/lib/utils/conversions.H
+++ b/src/import/chips/p9/procedures/hwp/memory/lib/utils/conversions.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2017 */
+/* Contributors Listed Below - COPYRIGHT 2015,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -106,6 +106,11 @@ inline fapi2::ReturnCode freq_to_ps(const T i_speed_grade, OT& o_tCK_in_ps )
o_tCK_in_ps = 833;
break;
+ // Default 2933 to 2666
+ // TODO:RTC192461
+ case fapi2::ENUM_ATTR_MSS_FREQ_MT2933:
+ FAPI_INF("2933 speed grade detected. Setting o_tCK_in_ps to match 2666");
+
case fapi2::ENUM_ATTR_MSS_FREQ_MT2666:
o_tCK_in_ps = 750;
break;
@@ -132,6 +137,11 @@ fapi2::ReturnCode ps_to_freq(const T i_time_in_ps, OT& o_speed_grade)
{
switch(i_time_in_ps)
{
+ // Default 682ps (2933MT/s) to 750ps (2666MT/s)
+ // TODO:RTC192461
+ case 682:
+ FAPI_INF("682ps detected (2933 speed bin). Setting o_speed_grade to match 2666.");
+
case 750:
o_speed_grade = fapi2::ENUM_ATTR_MSS_FREQ_MT2666;
break;
diff --git a/src/import/chips/p9/procedures/xml/attribute_info/memory_mcs_attributes.xml b/src/import/chips/p9/procedures/xml/attribute_info/memory_mcs_attributes.xml
index 36d391ffa..396a75f31 100644
--- a/src/import/chips/p9/procedures/xml/attribute_info/memory_mcs_attributes.xml
+++ b/src/import/chips/p9/procedures/xml/attribute_info/memory_mcs_attributes.xml
@@ -92,7 +92,8 @@
MT1866 = 1866,
MT2133 = 2133,
MT2400 = 2400,
- MT2666 = 2666
+ MT2666 = 2666,
+ MT2933 = 2933
</enum>
<writeable/>
<mssUnits> MT/s </mssUnits>
OpenPOWER on IntegriCloud