summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/pm/p9_pm.H
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-02-26 17:38:44 -0600
commitda05b018735c570e2da53d9d547e12e92c83c130 (patch)
treedb92c0fad849eb7cca61373748188757b5562470 /src/import/chips/p9/procedures/hwp/pm/p9_pm.H
parentb1d81b724f5dbc9bf24074c722db743979bbde7c (diff)
downloadtalos-hostboot-da05b018735c570e2da53d9d547e12e92c83c130.tar.gz
talos-hostboot-da05b018735c570e2da53d9d547e12e92c83c130.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: 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://gfw160.aus.stglabs.ibm.com:8080/gerrit/24718 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/pm/p9_pm.H')
-rw-r--r--src/import/chips/p9/procedures/hwp/pm/p9_pm.H23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/pm/p9_pm.H b/src/import/chips/p9/procedures/hwp/pm/p9_pm.H
index a9972c3e1..463f0decb 100644
--- a/src/import/chips/p9/procedures/hwp/pm/p9_pm.H
+++ b/src/import/chips/p9/procedures/hwp/pm/p9_pm.H
@@ -49,6 +49,29 @@
#define BIT(b) BITS((b), 1)
#endif
+extern const char* p9_PM_FLOW_MODE_NAME[];
+
+#define PM_FLOW_MODE_NAME \
+ { \
+ "PM_RESET", \
+ "PM_INIT", \
+ "PM_SETUP", \
+ "PM_SETUP_PIB", \
+ "PM_SETUP_ALL", \
+ "PM_RESET_SOFT", \
+ "PM_INIT_SOFT", \
+ "PM_INIT_SPECIAL" \
+ }
+
+#define PM_MODE_NAME_VAR p9_PM_FLOW_MODE_NAME[] = PM_FLOW_MODE_NAME
+
+#define PM_MODE_NAME(_mi_mode)( \
+ p9_PM_FLOW_MODE_NAME[_mi_mode-1] \
+ )
+
+
+
+
//------------------------------------------------------------------------------
// Constant definitions
//------------------------------------------------------------------------------
OpenPOWER on IntegriCloud