Skip to content

Commit ece0f30

Browse files
Tsung Yeungdcrowell77
authored andcommitted
Default DDR4-2933 to 2666
Change-Id: I35d42b6de047b24c64521b427a5c8514c2daf4f7 CQ: SW454218 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70393 Tested-by: Jenkins Server <pfd-jenkins+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://rchgit01.rchland.ibm.com/gerrit1/70413 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: Daniel M. Crowell <dcrowell@us.ibm.com>
1 parent 0d34eb9 commit ece0f30

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

src/import/chips/p9/procedures/hwp/memory/lib/utils/conversions.H

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/* */
66
/* OpenPOWER HostBoot Project */
77
/* */
8-
/* Contributors Listed Below - COPYRIGHT 2015,2017 */
8+
/* Contributors Listed Below - COPYRIGHT 2015,2019 */
99
/* [+] International Business Machines Corp. */
1010
/* */
1111
/* */
@@ -106,6 +106,11 @@ inline fapi2::ReturnCode freq_to_ps(const T i_speed_grade, OT& o_tCK_in_ps )
106106
o_tCK_in_ps = 833;
107107
break;
108108

109+
// Default 2933 to 2666
110+
// TODO:RTC192461
111+
case fapi2::ENUM_ATTR_MSS_FREQ_MT2933:
112+
FAPI_INF("2933 speed grade detected. Setting o_tCK_in_ps to match 2666");
113+
109114
case fapi2::ENUM_ATTR_MSS_FREQ_MT2666:
110115
o_tCK_in_ps = 750;
111116
break;
@@ -132,6 +137,11 @@ fapi2::ReturnCode ps_to_freq(const T i_time_in_ps, OT& o_speed_grade)
132137
{
133138
switch(i_time_in_ps)
134139
{
140+
// Default 682ps (2933MT/s) to 750ps (2666MT/s)
141+
// TODO:RTC192461
142+
case 682:
143+
FAPI_INF("682ps detected (2933 speed bin). Setting o_speed_grade to match 2666.");
144+
135145
case 750:
136146
o_speed_grade = fapi2::ENUM_ATTR_MSS_FREQ_MT2666;
137147
break;

src/import/chips/p9/procedures/xml/attribute_info/memory_mcs_attributes.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<!-- -->
66
<!-- OpenPOWER HostBoot Project -->
77
<!-- -->
8-
<!-- Contributors Listed Below - COPYRIGHT 2015,2018 -->
8+
<!-- Contributors Listed Below - COPYRIGHT 2015,2019 -->
99
<!-- [+] International Business Machines Corp. -->
1010
<!-- -->
1111
<!-- -->
@@ -92,7 +92,8 @@
9292
MT1866 = 1866,
9393
MT2133 = 2133,
9494
MT2400 = 2400,
95-
MT2666 = 2666
95+
MT2666 = 2666,
96+
MT2933 = 2933
9697
</enum>
9798
<writeable/>
9899
<mssUnits> MT/s </mssUnits>

0 commit comments

Comments
 (0)