diff options
author | Bill Schwartz <whs@us.ibm.com> | 2013-04-25 10:26:12 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-05-08 10:50:44 -0500 |
commit | 750329e0758039e2692b3c26c28a4debb8feea1c (patch) | |
tree | b969bc3db446d62892f20e002456cea2f7cd21ec /src/usr/hwpf/plat/fapiPlatAttributeService.C | |
parent | 1d3a43698a3abc6c39098c2d4684ab47fb9a41bc (diff) | |
download | talos-hostboot-750329e0758039e2692b3c26c28a4debb8feea1c.tar.gz talos-hostboot-750329e0758039e2692b3c26c28a4debb8feea1c.zip |
Retrieve Phase Rotator Values from CDIMM VPD
Update cvpd dd for VSPD record, including MR keyword
Update fapiGetPlatMBvpdAccess for VSPD record
Create an accessor to retrieve Phase Rotator attributes from MR keyword
Add, but comment out FAPI_ATTR_GET changes until CDIMM vpd is valid (69935).
Change-Id: I053aac1f7477f6e9c6d53bfa68c29cb53f872034
RTC: 59048
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4212
Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com>
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
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 ) { |