summaryrefslogtreecommitdiffstats
path: root/src/usr/util/utilcommonattr.C
diff options
context:
space:
mode:
authorSachin Gupta <sgupta2m@in.ibm.com>2018-02-19 16:41:22 -0600
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-02-22 10:47:08 -0500
commit899054484ef293bc8d174792d4daf730c259bc0b (patch)
treee00205a6b2868954f69e2e7a3cb18c4dcb5ca623 /src/usr/util/utilcommonattr.C
parent44087e0148ad4f95fd4080fb911d1e37468548c6 (diff)
downloadtalos-hostboot-899054484ef293bc8d174792d4daf730c259bc0b.tar.gz
talos-hostboot-899054484ef293bc8d174792d4daf730c259bc0b.zip
Support cumulus 1.1 getPllBucket
Change-Id: I870c30ba1fd32a5dfb8ebf43db52adfa80389b54 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54400 Tested-by: Jenkins Server <pfd-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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/util/utilcommonattr.C')
-rw-r--r--src/usr/util/utilcommonattr.C18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/usr/util/utilcommonattr.C b/src/usr/util/utilcommonattr.C
index ec952233d..c4dd19f36 100644
--- a/src/usr/util/utilcommonattr.C
+++ b/src/usr/util/utilcommonattr.C
@@ -77,14 +77,18 @@ errlHndl_t getObusPllBucket(TARGETING::Target * i_chipTarget,
}
else if(l_chipModel == TARGETING::MODEL_CUMULUS)
{
- if(l_chipECLevel == 0x10)
- {
- l_freqList = OBUS_PLL_FREQ_LIST_P9C_10;
- }
- else
+ switch (l_chipECLevel)
{
- TRACFCOMP(g_util_trace, "Unknown EC level 0x%x for CUMULUS",
- l_chipECLevel);
+ case 0x10:
+ l_freqList = OBUS_PLL_FREQ_LIST_P9C_10;
+ break;
+ case 0x11:
+ l_freqList = OBUS_PLL_FREQ_LIST_P9C_11;
+ break;
+ default:
+ TRACFCOMP(g_util_trace, "Unknown EC level 0x%x for CUMULUS",
+ l_chipECLevel);
+ break;
}
}
//else
OpenPOWER on IntegriCloud