diff options
author | Andrew Geissler <andrewg@us.ibm.com> | 2015-01-08 14:53:13 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-01-16 16:23:39 -0600 |
commit | be4c81924431033b132284b0d4a70174f7749a76 (patch) | |
tree | e56435ce56ba8b2023811bd5edc6b84ee3abb99e /src/usr/hwpf/hwp/mvpd_accessors | |
parent | 0d9b304430d0aef907acd0d1ac077845cc8cb929 (diff) | |
download | talos-hostboot-be4c81924431033b132284b0d4a70174f7749a76.tar.gz talos-hostboot-be4c81924431033b132284b0d4a70174f7749a76.zip |
Firestone: Memory buffer VPD support for multiple memory cards
Change-Id: Idc8c2f8d711ddae7acd694a2f1eaeb0f62e15360
RTC: 116304
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15060
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/mvpd_accessors')
-rw-r--r-- | src/usr/hwpf/hwp/mvpd_accessors/getISDIMMTOC4DAttrs.C | 14 | ||||
-rw-r--r-- | src/usr/hwpf/hwp/mvpd_accessors/getMBvpdPhaseRotatorData.C | 8 |
2 files changed, 10 insertions, 12 deletions
diff --git a/src/usr/hwpf/hwp/mvpd_accessors/getISDIMMTOC4DAttrs.C b/src/usr/hwpf/hwp/mvpd_accessors/getISDIMMTOC4DAttrs.C index 235263461..299649122 100644 --- a/src/usr/hwpf/hwp/mvpd_accessors/getISDIMMTOC4DAttrs.C +++ b/src/usr/hwpf/hwp/mvpd_accessors/getISDIMMTOC4DAttrs.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014 */ +/* Contributors Listed Below - COPYRIGHT 2014,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -22,7 +22,7 @@ /* permissions and limitations under the License. */ /* */ /* IBM_PROLOG_END_TAG */ -// $ID: getISDIMMTOC4DAttrs.C, v 1.1 2014/9/25 04:38:00 eliner Exp $ +// $Id: getISDIMMTOC4DAttrs.C,v 1.3 2015/01/16 21:43:22 andrewg Exp $ /** * @file getISDIMMTOC4DAttrs.C * @@ -120,9 +120,8 @@ fapi::ReturnCode getDQAttrISDIMM( break; } - uint32_t l_dimmPos = 0; - //@todo: RTC 116304 - l_fapirc = FAPI_ATTR_GET(ATTR_POS,&i_mbTarget,l_dimmPos); + uint8_t l_dimmPos = 0; + l_fapirc = FAPI_ATTR_GET(ATTR_ISDIMM_MBVPD_INDEX,&i_mbTarget,l_dimmPos); if(l_fapirc) { FAPI_ERR("getDQAttrISDIMM: read of ATTR_POS failed"); @@ -221,9 +220,8 @@ fapi::ReturnCode getDQSAttrISDIMM( break; } - uint32_t l_dimmPos = 0; - //@todo: RTC 116304 - l_fapirc = FAPI_ATTR_GET(ATTR_POS,&i_mbTarget,l_dimmPos); + uint8_t l_dimmPos = 0; + l_fapirc = FAPI_ATTR_GET(ATTR_ISDIMM_MBVPD_INDEX,&i_mbTarget,l_dimmPos); if(l_fapirc) { FAPI_ERR("getDQAttrISDIMM: read of ATTR_POS failed"); diff --git a/src/usr/hwpf/hwp/mvpd_accessors/getMBvpdPhaseRotatorData.C b/src/usr/hwpf/hwp/mvpd_accessors/getMBvpdPhaseRotatorData.C index 60a725c28..c86af2f3c 100644 --- a/src/usr/hwpf/hwp/mvpd_accessors/getMBvpdPhaseRotatorData.C +++ b/src/usr/hwpf/hwp/mvpd_accessors/getMBvpdPhaseRotatorData.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -175,9 +175,9 @@ fapi::ReturnCode getMBvpdPhaseRotatorData( break; // break out with fapirc } - uint32_t l_dimmPos = 0; - //@todo-RTC:116304 - l_fapirc = FAPI_ATTR_GET(ATTR_POS,&l_mbTarget,l_dimmPos); + uint8_t l_dimmPos = 0; + l_fapirc = FAPI_ATTR_GET(ATTR_ISDIMM_MBVPD_INDEX,&l_mbTarget, + l_dimmPos); if(l_fapirc) { FAPI_ERR("getMBvpdPhaseRotatorData: read of ATTR_POS failed"); |