summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/plat/fapiPlatAttributeService.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/hwpf/plat/fapiPlatAttributeService.C')
-rw-r--r--src/usr/hwpf/plat/fapiPlatAttributeService.C11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/usr/hwpf/plat/fapiPlatAttributeService.C b/src/usr/hwpf/plat/fapiPlatAttributeService.C
index 9f2e85714..651204ce8 100644
--- a/src/usr/hwpf/plat/fapiPlatAttributeService.C
+++ b/src/usr/hwpf/plat/fapiPlatAttributeService.C
@@ -51,6 +51,7 @@
#include <hwpf/hwp/mvpd_accessors/getMBvpdSensorMap.H>
#include <hwpf/hwp/mvpd_accessors/getMBvpdAttr.H>
#include <hwpf/hwp/mvpd_accessors/accessMBvpdL4BankDelete.H>
+#include <hwpf/hwp/chip_accessors/getTdpRdpCurrentFactor.H>
#include <hwpf/hwp/chip_accessors/getPciOscswitchConfig.H>
#include <hwpf/hwp/chip_accessors/getOscswitchCtlAttr.H>
#include <fapiPllRingAttr.H>
@@ -1587,6 +1588,16 @@ fapi::ReturnCode fapiPlatGetPciOscswitchConfig
}
//-----------------------------------------------------------------------------
+fapi::ReturnCode fapiPlatGetTdpRdpCurrentFactor
+ (const fapi::Target * i_pProcTarget,
+ uint32_t &o_val)
+{
+ fapi::ReturnCode l_rc;
+ FAPI_EXEC_HWP(l_rc, getTdpRdpCurrentFactor, *i_pProcTarget, o_val);
+ return l_rc;
+}
+
+//-----------------------------------------------------------------------------
fapi::ReturnCode fapiPlatGetSpdModspecComRefRawCard
(const fapi::Target * i_pDimmTarget,
uint8_t &o_val)
OpenPOWER on IntegriCloud