Skip to content

Commit

Permalink
Default DDR4-3200 to 2666
Browse files Browse the repository at this point in the history
Change-Id: Ic07accecdacee7557767ec0fb3df9f1bff36d6b4
CQ: SW454218
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70396
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/70456
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>
  • Loading branch information
sglancy6 authored and dcrowell77 committed Jan 19, 2019
1 parent ece0f30 commit e0d1b03
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ 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
// Default 2933/3200 to 2666
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_MT3200:
FAPI_INF("%u speed grade detected. Setting o_tCK_in_ps to match 2666", i_speed_grade);

case fapi2::ENUM_ATTR_MSS_FREQ_MT2666:
o_tCK_in_ps = 750;
Expand Down Expand Up @@ -137,10 +137,10 @@ 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
// Default 682ps (2933MT/s) or 625ps (3200MT/s) to 750ps (2666MT/s)
case 625:
case 682:
FAPI_INF("682ps detected (2933 speed bin). Setting o_speed_grade to match 2666.");
FAPI_INF("%u ps detected (2933 or 3200 speed bin). Setting o_speed_grade to match 2666.", i_time_in_ps);

case 750:
o_speed_grade = fapi2::ENUM_ATTR_MSS_FREQ_MT2666;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@
MT2133 = 2133,
MT2400 = 2400,
MT2666 = 2666,
MT2933 = 2933
MT2933 = 2933,
MT3200 = 3200
</enum>
<writeable/>
<mssUnits> MT/s </mssUnits>
Expand Down

0 comments on commit e0d1b03

Please sign in to comment.