summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/utils
diff options
context:
space:
mode:
authorMartin Peschke <mpeschke@de.ibm.com>2017-02-21 19:39:03 +0100
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-02-22 14:10:11 -0500
commita32d2669eadd9d61cfe6f4eb40f494dba387648c (patch)
tree372e18495105abbf6887dfaa5f02481125ddba9b /src/import/chips/p9/utils
parentea70fa7551859eb42ad3937fc050307190383e87 (diff)
downloadtalos-hostboot-a32d2669eadd9d61cfe6f4eb40f494dba387648c.tar.gz
talos-hostboot-a32d2669eadd9d61cfe6f4eb40f494dba387648c.zip
p9_tor: fix tor_access_ring failure
Commit 33317 removed a couple of the lines that need to be kept. Impacts CME and SGPE. Change-Id: I5fccae529051c9ccfcff9042b67d238f8f5a94d3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36801 Dev-Ready: Brent Wieman <bwieman@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Brent Wieman <bwieman@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36805 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/utils')
-rw-r--r--src/import/chips/p9/utils/imageProcs/p9_tor.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/import/chips/p9/utils/imageProcs/p9_tor.C b/src/import/chips/p9/utils/imageProcs/p9_tor.C
index a909dda92..dac5bc695 100644
--- a/src/import/chips/p9/utils/imageProcs/p9_tor.C
+++ b/src/import/chips/p9/utils/imageProcs/p9_tor.C
@@ -594,6 +594,7 @@ int get_ring_from_sgpe_image ( void* i_ringSection, // Ring sectio
{
spge_offset = 0;
i_ddLevelOffset = 0;
+ temp = be32toh(spge_offset);
}
GenRingIdList* ring_id_list_common = NULL;
@@ -887,6 +888,7 @@ int get_ring_from_cme_image ( void* i_ringSection, // Ring section
{
cme_offset = 0;
i_ddLevelOffset = 0;
+ temp = be32toh(cme_offset);
}
GenRingIdList* ring_id_list_common = NULL;
OpenPOWER on IntegriCloud