summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/xip/p9_xip_image.h
diff options
context:
space:
mode:
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