summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrachi Gupta <pragupta@us.ibm.com>2018-07-31 15:07:49 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-08-01 13:33:40 -0500
commitba4fc129cd4436c6dcf1c24346cd99f7422745f2 (patch)
treed5f7b9503b6bc0b0dffcaa0587c9c1f3e3a2e424
parent4b5108755cea09369b3ec23043fe6e368eaa567a (diff)
downloadtalos-hostboot-ba4fc129cd4436c6dcf1c24346cd99f7422745f2.tar.gz
talos-hostboot-ba4fc129cd4436c6dcf1c24346cd99f7422745f2.zip
platGetMBvpdSlopeInterceptData: fix ATTR_CEN_CDIMM_VPD_MASTER_TOTAL_POWER_SLOPE
When getting ATTR_CEN_CDIMM_VPD_MASTER_TOTAL_POWER_SLOPE, we incorrectly used MASTER_TOTAL_POWER_INTERCEPT enum. We should use MASTER_TOTAL_POWER_SLOPE Change-Id: I1425147baf4937c3a5256a2f54f42ef8d9cefe5f CQ:SW440290 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63653 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
-rw-r--r--src/usr/fapi2/attribute_service.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/fapi2/attribute_service.C b/src/usr/fapi2/attribute_service.C
index 9908e3abd..ae9bb9475 100644
--- a/src/usr/fapi2/attribute_service.C
+++ b/src/usr/fapi2/attribute_service.C
@@ -2750,7 +2750,7 @@ ReturnCode platGetMBvpdSlopeInterceptData(
l_val = MASTER_TOTAL_POWER_INTERCEPT;
break;
case ATTR_CEN_CDIMM_VPD_MASTER_TOTAL_POWER_SLOPE:
- l_val = MASTER_TOTAL_POWER_INTERCEPT;
+ l_val = MASTER_TOTAL_POWER_SLOPE;
break;
case ATTR_CEN_CDIMM_VPD_SUPPLIER_POWER_INTERCEPT:
l_val = SUPPLIER_POWER_INTERCEPT;
OpenPOWER on IntegriCloud