summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/lib
diff options
context:
space:
mode:
authorAmit Kumar <akumar3@us.ibm.com>2016-01-13 10:24:32 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-03-01 12:06:42 -0500
commit2c17cadd9f638b573a542d6aa8c2359b136bdd1e (patch)
treea3ea2fd9865763443dd543b833bf08ebae34a939 /src/import/chips/p9/procedures/hwp/lib
parentac25ac4201b4f923cf4653173552b1134330e361 (diff)
downloadtalos-hostboot-2c17cadd9f638b573a542d6aa8c2359b136bdd1e.tar.gz
talos-hostboot-2c17cadd9f638b573a542d6aa8c2359b136bdd1e.zip
L2 stop_gpe_init
- Move to use of IVPR setting and Hard Reset for starting - IVPR value comes from a HWP attribute written by p9_hcode_image_build. The value written will be for the SGPE Boot Copier and will decouples this procedure from HOMER layout changes. - Added -set_hcode_done option to wrapper to force condition without real HCode - Added SUET actions - add missing p9_pm_hcd_flags.h file - address Gerrit comments (including HB) - Rebased (4) Change-Id: I61ae8a644280e0c9e318fdad953715f127b20578 Original-Change-Id: I0b5a94a16b0aff811eb526434ca6d02f51c781a8 RTC: 144279 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23274 Tested-by: Jenkins Server Tested-by: Auto Mirror Tested-by: Hostboot CI Tested-by: PPE CI Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21398 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_hcd_common.H31
1 files changed, 28 insertions, 3 deletions
diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_hcd_common.H b/src/import/chips/p9/procedures/hwp/lib/p9_hcd_common.H
index 659bef15c..a3d3aa65f 100644
--- a/src/import/chips/p9/procedures/hwp/lib/p9_hcd_common.H
+++ b/src/import/chips/p9/procedures/hwp/lib/p9_hcd_common.H
@@ -7,7 +7,7 @@
/* */
/* EKB Project */
/* */
-/* COPYRIGHT 2015 */
+/* COPYRIGHT 2015,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -77,6 +77,7 @@
// Constants
//-------------------------
+
namespace p9hcd
{
@@ -152,6 +153,32 @@ enum P9_HCD_COMMON_SCAN0_CONSTANTS
SCAN0_TYPE_GPTR = 0x200,
SCAN0_TYPE_FUNC_BNDY = 0x808
};
+//OCC FLag defines
+enum PM_GPE_OCCFLG_DEFS
+{
+ SGPE_ACTIVE = 8
+};
+
+// XSR defines
+enum XSR_DEFS
+{
+ HALTED_STATE = 0
+};
+
+
+// XCR defines
+enum XCR_DEFS
+{
+ CLEAR_DEBUG_STATUS = 0,
+ HALT = 1,
+ RESUME = 2,
+ SINGLE_STEP = 3,
+ TOGGLE_XSR_TRH = 4,
+ SOFT_RESET = 5,
+ HARD_RESET = 6,
+ FORCE_HALT = 7
+};
+
} // END OF NAMESPACE p9hcd
@@ -170,7 +197,5 @@ enum P9_HCD_COMMON_SCAN0_CONSTANTS
/// Scom addresses missing from p9_quad_scom_addresses.H
#define EQ_QPPM_QCCR_WCLEAR 0x100F01BE
#define EQ_QPPM_QCCR_WOR 0x100F01BF
-#define EQ_QPPM_QACCR_CLEAR 0x100F0161
-#define EQ_QPPM_QACCR_OR 0x100F0162
#endif // __P9_HCD_COMMON_H__
OpenPOWER on IntegriCloud