summaryrefslogtreecommitdiffstats
path: root/import/chips/p9/xip
diff options
context:
space:
mode:
authorClaus Michael Olsen <cmolsen@us.ibm.com>2017-10-23 23:09:00 -0500
committerJoshua Hunsberger <jahunsbe@us.ibm.com>2017-11-17 15:17:51 -0600
commit94dc5d98fdcadec1b9397a3f316f06761aaa43b6 (patch)
tree084296a311be6bb76e4db9a6ede01f51893da366 /import/chips/p9/xip
parent08a4e8039377664f70dbefd53a6a90b09ab8f12e (diff)
downloadtalos-hcode-94dc5d98fdcadec1b9397a3f316f06761aaa43b6.tar.gz
talos-hcode-94dc5d98fdcadec1b9397a3f316f06761aaa43b6.zip
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: I45777ea82caebf91b7f63531ac2107e9eecc55d6 Original-Change-Id: I465248e802d496c4ff571ad92ea42cda9656db68 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48720 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'import/chips/p9/xip')
-rw-r--r--import/chips/p9/xip/p9_xip_image.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/import/chips/p9/xip/p9_xip_image.h b/import/chips/p9/xip/p9_xip_image.h
index dec7fd49..8cc13ffe 100644
--- a/import/chips/p9/xip/p9_xip_image.h
+++ b/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,
OpenPOWER on IntegriCloud