summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2019-05-02 10:41:38 -0500
committerhostboot <hostboot@us.ibm.com>2019-05-11 10:48:39 -0500
commit9cad5ac42b3e9505e969e6ffd18fdc1970676c25 (patch)
treed9a3021e1880f4058ace7d2f906c2cd99ea0d40e
parente63f4dafc713e0349c544801f1c575223f103adb (diff)
downloadtalos-hcode-9cad5ac42b3e9505e969e6ffd18fdc1970676c25.tar.gz
talos-hcode-9cad5ac42b3e9505e969e6ffd18fdc1970676c25.zip
Synch up OMI and MCA frequencies
There is an intrinsic link between ATTR_FREQ_MCA_MHZ and ATTR_FREQ_OMI_MHZ and ATTR_MC_PLL_BUCKET. -ATTR_MC_PLL_BUCKET will be read-only, platforms will return the value based on ATTR_FREQ_OMI_MHZ. -ATTR_FREQ_MCA_MHZ will be read-only (again), platforms will return the value based on ATTR_FREQ_OMI_MHZ. -ATTR_FREQ_OMI_MHZ will be writeable, defaulted by mrw/config file, written by mss_freq_system. -OMI_PLL_FREQ_LIST was be expanded to include the value of ATTR_FREQ_MCA_MHZ. Platforms will use ATTR_FREQ_OMI_MHZ (and VCO) as the key into OMI_PLL_FREQ_LIST to determine the value of ATTR_MC_PLL_BUCKET and ATTR_FREQ_MCA_MHZ Change-Id: I17681b8b1ff8ad6b195fc741e20e48ac60ce1c99 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76877 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Dev-Ready: Steven B. Janssen <janssens@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: Benjamin Gass <bgass@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
-rw-r--r--import/chips/p9/common/include/p9_frequency_buckets.H19
1 files changed, 11 insertions, 8 deletions
diff --git a/import/chips/p9/common/include/p9_frequency_buckets.H b/import/chips/p9/common/include/p9_frequency_buckets.H
index 80e0cc83..280c4679 100644
--- a/import/chips/p9/common/include/p9_frequency_buckets.H
+++ b/import/chips/p9/common/include/p9_frequency_buckets.H
@@ -68,22 +68,25 @@ const uint32_t MEM_PLL_FREQ_LIST[MEM_PLL_FREQ_BUCKETS] =
// OMI bucket descriptor
struct OmiBucketDescriptor_t
{
- uint32_t freq; // Frequency in MHz
- uint32_t vco; // VCO selector
+ uint32_t omifreq; // OMI Frequency in MHz
+ uint32_t vco; // VCO selector
+
+ uint32_t mcafreq; // MCA Frequency in MHz
};
//MC PLL frequency in MHz for Axone
// index is bucket number
// OMI -> ATTR_FREQ_OMI_MHZ
// VCO -> ATTR_OMI_PLL_VCO
+// MCA -> ATTR_FREQ_MCA_MHZ
const OmiBucketDescriptor_t OMI_PLL_FREQ_LIST[MEM_PLL_FREQ_BUCKETS] =
{
- // OMI VCO Data rate MCA_FREQ
- { 19200, 0 }, // ->DDR4-2400 1200
- { 21330, 0 }, // ->DDR4-2667 1333
- { 23460, 0 }, // ->DDR4-2933 1466
- { 23460, 1 }, // ->DDR4-2933 1466
- { 25600, 1 } // ->DDR4-3200 1600
+ // OMI VCO MCA Data rate
+ { 19200, 0, 1200 }, // ->DDR4-2400
+ { 21330, 0, 1333 }, // ->DDR4-2667
+ { 23460, 0, 1466 }, // ->DDR4-2933
+ { 23460, 1, 1466 }, // ->DDR4-2933
+ { 25600, 1, 1600 } // ->DDR4-3200
};
// constant definining number of OBUS PLL frequency options ('buckets')
OpenPOWER on IntegriCloud