From 0d63966b43335de13cf1c84531e2ca8259cec928 Mon Sep 17 00:00:00 2001 From: Claus Michael Olsen Date: Mon, 23 Oct 2017 23:09:00 -0500 Subject: Update: xip_tool: Introducing image section type (IST). Currently xip_tool bails out if attempting to run a "report" on a standalone overrides or overlays ring section. So, added support for: - "report" for standalone TOR ring section and standalone DD container. - Introduced the Image Section Type (IST) to enumerate the various image types supported in an XIP image. Change-Id: I465248e802d496c4ff571ad92ea42cda9656db68 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48720 Tested-by: FSP CI Jenkins Tested-by: Jenkins Server Tested-by: HWSV CI Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Sumit Kumar Reviewed-by: Richard J. Knight Reviewed-by: Jennifer A. Stofer Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48723 Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Christian R. Geddes --- src/import/chips/p9/xip/p9_xip_image.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/import/chips/p9/xip/p9_xip_image.h') diff --git a/src/import/chips/p9/xip/p9_xip_image.h b/src/import/chips/p9/xip/p9_xip_image.h index dfa20d454..2da60be8d 100644 --- a/src/import/chips/p9/xip/p9_xip_image.h +++ b/src/import/chips/p9/xip/p9_xip_image.h @@ -92,7 +92,17 @@ #ifndef __ASSEMBLER__ -// these are common P9-XIP sections defined for a images +// List of image section types supported in the XIP image + +typedef enum { + IST_XIP, // A legacy XIP image + IST_TOR, // A standalone TOR ring section image + IST_DDCO, // A standalone DD level container + NOOF_IST, + IST_UNDEFINED = 0xff +} image_section_type_t; + +// These are the common P9-XIP sections defined for every image typedef enum { P9_XIP_SECTION_HEADER = 0, P9_XIP_SECTION_FIXED = 1, -- cgit v1.2.1