diff options
Diffstat (limited to 'src/import/chips/p9')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/lib/utils/conversions.H | 12 | ||||
-rw-r--r-- | src/import/chips/p9/procedures/xml/attribute_info/memory_mcs_attributes.xml | 3 |
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> |