From 3d4428aecda5caa7b74c7bb5a3e9c6fd2b7bac7a Mon Sep 17 00:00:00 2001 From: Claus Michael Olsen Date: Mon, 26 Feb 2018 08:29:19 -0600 Subject: Update to p9_xip_tool to handle stand-alone DDCO ring files. In this update, we're adding support to p9_xip_tool to be able to dissect and extract stand-alone DDCO ring files, i.e. files that are DD packaged through using the dd_container API and which is the DD packaging that XIP "understands". Right now, dissect and extract (of a specific DD level) can only be achieved if the DDCO binary is attached to the XIP image as one of the rings sections, .rings, .overlays or .overrides. Key_Cronus_Test=XIP_REGRESS Change-Id: I8be00742f05b4df61652a1de6d0230bb5d203f97 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54704 Tested-by: FSP CI Jenkins Tested-by: Jenkins Server Tested-by: HWSV CI Tested-by: Hostboot CI Tested-by: Cronus HW CI Tested-by: PPE CI Reviewed-by: Sumit Kumar Reviewed-by: Richard J. Knight Reviewed-by: Jennifer A. Stofer Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54713 Reviewed-by: Sachin Gupta --- src/import/chips/common/utils/imageProcs/common_ringId.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/import/chips/common') diff --git a/src/import/chips/common/utils/imageProcs/common_ringId.H b/src/import/chips/common/utils/imageProcs/common_ringId.H index a0ba7c12..ac44eef3 100644 --- a/src/import/chips/common/utils/imageProcs/common_ringId.H +++ b/src/import/chips/common/utils/imageProcs/common_ringId.H @@ -49,7 +49,7 @@ typedef uint8_t RingType_t; // Type for RingType enum typedef uint8_t RingVariant_t; // Type for RingVariant enum typedef uint8_t RingBlockType_t; // Type for RingBlockType enum, e.g. GET_SINGLE_RING typedef uint32_t TorCpltOffset_t; // Type for offset value to chiplet's CMN or INST section -typedef uint8_t myBoolean_t; // false:0, true:1, undefined:UNDEFINED_BOOLEAN +typedef uint8_t MyBool_t; // false:0, true:1, undefined:UNDEFINED_BOOLEAN #define UNDEFINED_RING_ID (RingId_t)0xffff #define UNDEFINED_CHIPLET_TYPE (ChipletType_t)0xff @@ -66,7 +66,7 @@ typedef uint8_t myBoolean_t; // false:0, true:1, undefined:UNDEFINED_BOOL #define MAX_RING_PATH_LENGTH (uint8_t)500 #define MAX_RING_NAME_LENGTH (uint8_t)50 -#define UNDEFINED_BOOLEAN (myBoolean_t)0xff +#define UNDEFINED_BOOLEAN (MyBool_t)0xff // // // Declare assumptions - End // -- cgit v1.2.1