summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9
diff options
context:
space:
mode:
Diffstat (limited to 'src/import/chips/p9')
-rw-r--r--src/import/chips/p9/utils/imageProcs/p9_infrastruct_help.H4
-rw-r--r--src/import/chips/p9/xip/p9_xip_image.h12
2 files changed, 14 insertions, 2 deletions
diff --git a/src/import/chips/p9/utils/imageProcs/p9_infrastruct_help.H b/src/import/chips/p9/utils/imageProcs/p9_infrastruct_help.H
index 048fd36e7..284765273 100644
--- a/src/import/chips/p9/utils/imageProcs/p9_infrastruct_help.H
+++ b/src/import/chips/p9/utils/imageProcs/p9_infrastruct_help.H
@@ -54,7 +54,9 @@ const uint32_t MAX_NOOF_DD_LEVELS_IN_IMAGE = 20;
#define NUM_OF_QUADS 6
#define CORES_PER_QUAD (NUM_OF_CORES/NUM_OF_QUADS)
-#define INFRASTRUCT_RC_SUCCESS 0
+#define INFRASTRUCT_RC_SUCCESS 0
+#define INFRASTRUCT_RC_CODE_BUG 1
+#define INFRASTRUCT_RC_INVALID_IMAGE_SECTION_TYPE 2
enum SYSPHASE
{
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