From 24f6d36ca47af190b6246d22401805ffd2df7c2a Mon Sep 17 00:00:00 2001 From: Claus Michael Olsen Date: Wed, 16 Nov 2016 08:45:24 -0600 Subject: 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 Tested-by: PPE CI Reviewed-by: Sumit Kumar Reviewed-by: Martin Peschke Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32712 Reviewed-by: Hostboot Team Tested-by: FSP CI Jenkins Reviewed-by: Sachin Gupta --- src/import/chips/p9/xip/p9_xip_tool.C | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/import/chips/p9/xip/p9_xip_tool.C b/src/import/chips/p9/xip/p9_xip_tool.C index 80a2b1b6..50200153 100644 --- a/src/import/chips/p9/xip/p9_xip_tool.C +++ b/src/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++) { //---------------------- -- cgit v1.2.1