Skip to content

Commit

Permalink
Default DDR4-2933 to 2666
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tsung Yeung authored and crgeddes committed Jun 29, 2018
1 parent 1a90c43 commit 7ec5dca
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2015,2017 */
/* Contributors Listed Below - COPYRIGHT 2015,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@
MT1866 = 1866,
MT2133 = 2133,
MT2400 = 2400,
MT2666 = 2666
MT2666 = 2666,
MT2933 = 2933
</enum>
<writeable/>
<mssUnits> MT/s </mssUnits>
Expand Down

0 comments on commit 7ec5dca

Please sign in to comment.