summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/lib
diff options
context:
space:
mode:
authorPrem Shanker Jha <premjha2@in.ibm.com>2017-04-07 11:42:33 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-04-27 11:48:24 -0400
commit45dfb00aacb4ccfe36350d3e35e4247310eace28 (patch)
tree8f0a75eff9a464c229fc70078a1ca7c842929efc /src/import/chips/p9/procedures/hwp/lib
parent8d2eaaaa564e86f806af3c007eca7389c31ad8d2 (diff)
downloadtalos-hostboot-45dfb00aacb4ccfe36350d3e35e4247310eace28.tar.gz
talos-hostboot-45dfb00aacb4ccfe36350d3e35e4247310eace28.zip
PM: Added support for eq_inex rings in hcode image build.
Change-Id: I3b1c4297ad4847bc41d8f080cdc8e25e7ee5886a HW-Image-Prereq: abbdca4a66381499027d1a83f81d9c7bf79bdf6a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39036 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39037 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/lib')
-rw-r--r--src/import/chips/p9/procedures/hwp/lib/p9_hcode_image_defines.H11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_hcode_image_defines.H b/src/import/chips/p9/procedures/hwp/lib/p9_hcode_image_defines.H
index 81965886d..13bcfcc63 100644
--- a/src/import/chips/p9/procedures/hwp/lib/p9_hcode_image_defines.H
+++ b/src/import/chips/p9/procedures/hwp/lib/p9_hcode_image_defines.H
@@ -55,10 +55,18 @@
#ifndef __PPE_PLAT
namespace p9_hcodeImageBuild
{
+#include <p9_ringId.H>
#endif //__PPE_PLAT
#endif //__cplusplus
#endif //__ASSEMBLER__
+//FIXME to make future addition simple, need a better solution
+/**
+ * @brief returns maximum quad common rings that enter HOMER.
+ */
+
+#define MAX_HOMER_QUAD_CMN_RINGS (uint32_t)(EQ::g_eqData.iv_num_common_rings - 4)
+
/**
* @brief models QPMR header in HOMER
*/
@@ -393,6 +401,7 @@ enum ImgBldRetCode_t
SGPE_SRAM_IMG_SIZE_ERR = 32,
PGPE_SRAM_IMG_SIZE_ERR = 33,
BUILD_FAIL_PGPE_PPMR = 34,
+ BUILD_FAIL_RING_SEL_EQ_INEX = 35,
};
/**
@@ -454,7 +463,7 @@ typedef struct
uint16_t eqFureRing;
uint16_t eqGptrRing;
uint16_t eqTimeRing;
- uint16_t eqModeRing;
+ uint16_t eqInexRing;
uint16_t exL3FureRing;
uint16_t exL3GptrRing;
uint16_t exL3TimeRing;
OpenPOWER on IntegriCloud