summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2/attribute_service.C
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2016-09-26 13:26:36 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-09-27 13:53:37 -0400
commitc6fe7e8e4b7fd039e71f3153b145d3eb6f958ea2 (patch)
tree8d27ca34d34050cdfe87db8be8e846581dcb9ff0 /src/usr/fapi2/attribute_service.C
parentdb863b6ef111b993fce46f9cdd22671a46d4c5a8 (diff)
downloadtalos-hostboot-c6fe7e8e4b7fd039e71f3153b145d3eb6f958ea2.tar.gz
talos-hostboot-c6fe7e8e4b7fd039e71f3153b145d3eb6f958ea2.zip
Add reminder to handle ATTR_POS for multi-drawer systems
Change-Id: I54327190bfc860d8dc7ceee28aca6b3456fe0487 RTC: 161057 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30314 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/fapi2/attribute_service.C')
-rw-r--r--src/usr/fapi2/attribute_service.C5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/usr/fapi2/attribute_service.C b/src/usr/fapi2/attribute_service.C
index 6f999b978..ef588a5ef 100644
--- a/src/usr/fapi2/attribute_service.C
+++ b/src/usr/fapi2/attribute_service.C
@@ -421,8 +421,11 @@ ReturnCode platGetTargetPos(const Target<TARGET_TYPE_ALL>& i_pFapiTarget,
}
else
{
- //RTC: 154950 Add MCA_PORT attribute to DIMM target
uint16_t l_pos = l_pTarget->getAttr<TARGETING::ATTR_FAPI_POS>();
+
+ //@todo-RTC:161594-ATTR_POS is defined as per-drawer, so need to
+ // mod the value down appropriately
+
o_pos = l_pos;
}
OpenPOWER on IntegriCloud