summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/usr/hdat/hdatutil.C4
-rw-r--r--src/usr/util/utilcommonattr.C4
2 files changed, 4 insertions, 4 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 ");
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