summaryrefslogtreecommitdiffstats
path: root/src/usr/util
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2018-02-01 09:48:51 -0600
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-02-06 10:41:04 -0500
commit480f31bfceaa2f393e44480dfebbcdf56b771017 (patch)
tree8ce64287764746d463fee3def21691860867af6e /src/usr/util
parent59c8ce01244bcdb635735773fa81d417c0b9c710 (diff)
downloadtalos-hostboot-480f31bfceaa2f393e44480dfebbcdf56b771017.tar.gz
talos-hostboot-480f31bfceaa2f393e44480dfebbcdf56b771017.zip
Correct Obus buckets math: one, not zero based
Change-Id: Iaefbf2add1e79d978360e38d133afe2190da094d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53186 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: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/util')
-rw-r--r--src/usr/util/utilcommonattr.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/util/utilcommonattr.C b/src/usr/util/utilcommonattr.C
index 193412a7b..ec952233d 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 */
+/* Contributors Listed Below - COPYRIGHT 2017,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -100,7 +100,7 @@ errlHndl_t getObusPllBucket(TARGETING::Target * i_chipTarget,
{
if(l_freqList[i] == l_freq_array[i_index])
{
- o_bucket_val = i;
+ o_bucket_val = i + 1; // bucket is "1" based
break;
}
}
OpenPOWER on IntegriCloud