summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/xip
diff options
context:
space:
mode:
authorClaus Michael Olsen <cmolsen@us.ibm.com>2017-10-23 23:09:00 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2017-11-27 18:32:51 -0500
commit0d63966b43335de13cf1c84531e2ca8259cec928 (patch)
tree8506b97a29b5870a4b60313fd8ec172c7d1a3253 /src/import/chips/p9/xip
parent62321660514419ab1413a7bbe61ce19bae442875 (diff)
downloadtalos-hostboot-0d63966b43335de13cf1c84531e2ca8259cec928.tar.gz
talos-hostboot-0d63966b43335de13cf1c84531e2ca8259cec928.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/48723 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/xip')
-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 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,
OpenPOWER on IntegriCloud