summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/xip/p9_xip_image.h
diff options
context:
space:
mode:
authorClaus Michael Olsen <cmolsen@us.ibm.com>2017-10-23 23:09:00 -0500
committerSachin Gupta <sgupta2m@in.ibm.com>2017-11-17 08:03:50 -0500
commitba0028f0e907b6cf582f331b1d58f0f381d5bba1 (patch)
tree1e138d95e9a81ade1c0698104abcde12e08693fd /src/import/chips/p9/xip/p9_xip_image.h
parentc2b4524ea3b0decfa625d068644c62004767d692 (diff)
downloadtalos-sbe-ba0028f0e907b6cf582f331b1d58f0f381d5bba1.tar.gz
talos-sbe-ba0028f0e907b6cf582f331b1d58f0f381d5bba1.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: 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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48721 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/import/chips/p9/xip/p9_xip_image.h')
-rw-r--r--src/import/chips/p9/xip/p9_xip_image.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/import/chips/p9/xip/p9_xip_image.h b/src/import/chips/p9/xip/p9_xip_image.h
index aa04b729..4dfbbbf5 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,
OpenPOWER on IntegriCloud