summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaus Michael Olsen <cmolsen@us.ibm.com>2016-11-16 08:45:24 -0600
committerJoshua Hunsberger <jahunsbe@us.ibm.com>2017-10-23 16:50:58 -0500
commitc6f896a1c2dccb1f9fdf59a5fa8d0cdbd142e25f (patch)
tree4bace107f8c2e60f27e6e91bafad2db1deb0740e
parent43a8f1052ed6953c4134f16dda688b3525827102 (diff)
downloadtalos-hcode-c6f896a1c2dccb1f9fdf59a5fa8d0cdbd142e25f.tar.gz
talos-hcode-c6f896a1c2dccb1f9fdf59a5fa8d0cdbd142e25f.zip
xip_tool: Small fix to prevent false appearance of OVRD in dissect
summary. Change-Id: I648937c4840281d68173bba41bee70d30abd29ee Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32705 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
-rw-r--r--import/chips/p9/xip/p9_xip_tool.C4
1 files changed, 3 insertions, 1 deletions
diff --git a/import/chips/p9/xip/p9_xip_tool.C b/import/chips/p9/xip/p9_xip_tool.C
index 175a32b5..e51bdf20 100644
--- a/import/chips/p9/xip/p9_xip_tool.C
+++ b/import/chips/p9/xip/p9_xip_tool.C
@@ -1729,6 +1729,8 @@ TEST(void* io_image, const int i_argc, const char** i_argv)
/// \param[in] i_listingModeId The listing mode: {short, normal(default), long}.
///
/// Assumptions:
+/// - Dissection only works with .rings section. It does not work with .overrides
+/// until we get TOR magic (RTC157744).
///
static
int dissectRingSectionTor( void* i_ringSection,
@@ -1820,7 +1822,7 @@ int dissectRingSectionTor( void* i_ringSection,
//--------------------
// Ring variant loop.
// - Base, cache, risk, override, overlay
- for (ringVariant = 0; ringVariant < NUM_RING_VARIANTS; ringVariant++)
+ for (ringVariant = 0; ringVariant < OVERRIDE; ringVariant++)
{
//----------------------
OpenPOWER on IntegriCloud