diff options
author | Tsung Yeung <tyeung@us.ibm.com> | 2018-05-23 17:11:42 -0400 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2018-06-29 10:12:04 -0400 |
commit | 7ec5dcab3d1d0515554ef816e8e3775715b602e4 (patch) | |
tree | 069376c271c8b75a20d966ce31735e2e3bf83a5b /src/import/chips/p9/procedures/hwp | |
parent | 1a90c43704935d8ed473de51870c820350f5e773 (diff) | |
download | talos-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/import/chips/p9/procedures/hwp')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/lib/utils/conversions.H | 12 |
1 files changed, 11 insertions, 1 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; |