summaryrefslogtreecommitdiffstats
path: root/src/usr/hdat
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/hdat
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/hdat')
-rw-r--r--src/usr/hdat/hdatutil.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/hdat/hdatutil.C b/src/usr/hdat/hdatutil.C
index 6c1549e82..c26b88743 100644
--- a/src/usr/hdat/hdatutil.C
+++ b/src/usr/hdat/hdatutil.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2017 */
+/* Contributors Listed Below - COPYRIGHT 2015,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -2042,7 +2042,7 @@ errlHndl_t hdatUpdateSMPLinkInfoData(hdatHDIFDataArray_t * i_SMPInfoFullPcrdHdrP
break;
}
- if(l_obusPllFreqBucket >= OBUS_PLL_FREQ_BUCKETS)
+ if(l_obusPllFreqBucket > OBUS_PLL_FREQ_BUCKETS)
{
HDAT_ERR(" Invalid obus Freq bucket ");
OpenPOWER on IntegriCloud