summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/common/scominfo
diff options
context:
space:
mode:
authorBen Gass <bgass@us.ibm.com>2017-09-18 17:46:54 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-09-25 22:55:08 -0400
commit72b46fb8e1db7c641e15c59b0785750eff451bec (patch)
treea754c8deaa172b5be93f51606bc32fc235c0d573 /src/import/chips/p9/common/scominfo
parent190d34605e53c44dc21aff261e1473d4a4478dd5 (diff)
downloadtalos-hostboot-72b46fb8e1db7c641e15c59b0785750eff451bec.tar.gz
talos-hostboot-72b46fb8e1db7c641e15c59b0785750eff451bec.zip
Fix DMI scom translation.
Change-Id: Ie77fa74ff6ea282635b9be8e09cdd95fb62ae75e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46378 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Dev-Ready: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46380 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/common/scominfo')
-rw-r--r--src/import/chips/p9/common/scominfo/p9_scominfo.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/chips/p9/common/scominfo/p9_scominfo.C b/src/import/chips/p9/common/scominfo/p9_scominfo.C
index a1917e93a..10bc2e9b9 100644
--- a/src/import/chips/p9/common/scominfo/p9_scominfo.C
+++ b/src/import/chips/p9/common/scominfo/p9_scominfo.C
@@ -220,7 +220,7 @@ extern "C"
{
l_scom.set_chiplet_id(MC01_CHIPLET_ID + (i_chipUnitNum / 4));
uint8_t l_sat_offset = l_scom.get_sat_offset();
- l_sat_offset = (l_sat_offset & 0xF) + ((i_chipUnitNum % 2) << 4);
+ l_sat_offset = (l_sat_offset & 0xF) + ((i_chipUnitNum % 4) << 4);
l_scom.set_sat_offset(l_sat_offset);
}
OpenPOWER on IntegriCloud