summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/pm/p9_scan_ring_util.C
diff options
context:
space:
mode:
authorPrem Shanker Jha <premjha2@in.ibm.com>2017-05-23 04:17:17 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-06-11 16:53:42 -0400
commitc60090e7991a7df52483a809b4026834dfabe1e0 (patch)
treee385a211124ef1eeeae4bc77e96267c5b2adfd30 /src/import/chips/p9/procedures/hwp/pm/p9_scan_ring_util.C
parent09b3be277415fc6aa7f29b2b76e2cb9d32141095 (diff)
downloadtalos-hostboot-c60090e7991a7df52483a809b4026834dfabe1e0.tar.gz
talos-hostboot-c60090e7991a7df52483a809b4026834dfabe1e0.zip
PM: Introduced a macro for core common ring.
HW-Image-Prereq: Id684ecb68d987f6ecd3f2e0476ab9aa2adce338f Change-Id: Ia1c450445b69052ca6f83e026075e48b82d4bdb1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40827 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40829 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/import/chips/p9/procedures/hwp/pm/p9_scan_ring_util.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/pm/p9_scan_ring_util.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/pm/p9_scan_ring_util.C b/src/import/chips/p9/procedures/hwp/pm/p9_scan_ring_util.C
index 83fc7e772..aba895c58 100644
--- a/src/import/chips/p9/procedures/hwp/pm/p9_scan_ring_util.C
+++ b/src/import/chips/p9/procedures/hwp/pm/p9_scan_ring_util.C
@@ -386,7 +386,7 @@ RingBucket::RingBucket( PlatId i_plat, uint8_t* i_pRingStart, RingDebugMode_t i_
{ ec_repr, 23 },
};
- for( ringIndex = 0; ringIndex < EC::g_ecData.iv_num_common_rings; ringIndex++ )
+ for( ringIndex = 0; ringIndex < MAX_HOMER_CORE_CMN_RINGS; ringIndex++ )
{
iv_cmnRingMap[ringIndex] = l_coreCmnRings[ringIndex];
}
OpenPOWER on IntegriCloud