diff options
Diffstat (limited to 'src/usr/hwpf/plat/fapiPlatAttributeService.C')
-rw-r--r-- | src/usr/hwpf/plat/fapiPlatAttributeService.C | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/usr/hwpf/plat/fapiPlatAttributeService.C b/src/usr/hwpf/plat/fapiPlatAttributeService.C index 567cffcc9..f98043756 100644 --- a/src/usr/hwpf/plat/fapiPlatAttributeService.C +++ b/src/usr/hwpf/plat/fapiPlatAttributeService.C @@ -41,6 +41,7 @@ #include <vpd/spdenums.H> #include <devicefw/driverif.H> #include <hwpf/hwp/mvpd_accessors/getMvpdExL2SingleMemberEnable.H> +#include <hwpf/hwp/mvpd_accessors/getMBvpdPhaseRotatorData.H> // The following file checks at compile time that all HWPF attributes are // handled by Hostboot. This is done to ensure that the HTML file listing @@ -1205,6 +1206,17 @@ fapi::ReturnCode fapiPlatGetSingleMemberEnableAttr( return l_rc; } +fapi::ReturnCode fapiPlatGetPhaseRotatorData ( + const fapi::Target * i_pTarget, + const fapi::MBvpdPhaseRotatorData i_attr, + uint8_t (&o_val) [2] ) +{ + // Call a VPD Accessor HWP to get the data + fapi::ReturnCode l_rc; + FAPI_EXEC_HWP(l_rc, getMBvpdPhaseRotatorData, *i_pTarget, i_attr, o_val); + return l_rc; +} + fapi::ReturnCode fapiPlatGetEnableAttr ( fapi::AttributeId i_id, const fapi::Target * i_pFapiTarget, uint8_t & o_enable ) { |