summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Geddes <crgeddes@us.ibm.com>2019-02-01 13:17:21 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-02-11 10:16:01 -0600
commit37c6c66c97c2054fb458034c41cb5f8543c252c2 (patch)
treea3052abb47f17050b428bfd1fffd800a91d12661 /src
parent27e1f1e7bd37aa279d4bbd6dfca98670624acca6 (diff)
downloadtalos-hostboot-37c6c66c97c2054fb458034c41cb5f8543c252c2.tar.gz
talos-hostboot-37c6c66c97c2054fb458034c41cb5f8543c252c2.zip
Update OBUS PLL Bucket attribute getter with Axone EC levels
This function needed to be updated to handle new Axone EC 1.0 and Axone EC 1.1 OBUS PLL Bucket values. Change-Id: I1be2803e9440d8e355964d75710134f240ec41e8 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71222 Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> 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>
Diffstat (limited to 'src')
-rw-r--r--src/usr/util/utilcommonattr.C18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/usr/util/utilcommonattr.C b/src/usr/util/utilcommonattr.C
index d64fca058..32fdc5cfd 100644
--- a/src/usr/util/utilcommonattr.C
+++ b/src/usr/util/utilcommonattr.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2017,2018 */
+/* Contributors Listed Below - COPYRIGHT 2017,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -100,6 +100,22 @@ errlHndl_t getObusPllBucket(TARGETING::Target * i_chipTarget,
break;
}
}
+ else if(l_chipModel == TARGETING::MODEL_AXONE)
+ {
+ switch (l_chipECLevel)
+ {
+ case 0x10:
+ l_freqList = OBUS_PLL_FREQ_LIST_P9A_10;
+ break;
+ case 0x11:
+ l_freqList = OBUS_PLL_FREQ_LIST_P9A_11;
+ break;
+ default:
+ TRACFCOMP(g_util_trace, "Unknown EC level 0x%x for AXONE",
+ l_chipECLevel);
+ break;
+ }
+ }
//else
//{
// fall-through, will be caught by l_freqList nullptr check
OpenPOWER on IntegriCloud