summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp/build_winkle_images
diff options
context:
space:
mode:
authorThi Tran <thi@us.ibm.com>2013-08-15 07:47:40 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-08-19 09:07:30 -0500
commitc458b54157b6cb417db2f2cf158b7379f00b7557 (patch)
tree8935dd7e5bca2366ec8b23758014bfa5330e6dda /src/usr/hwpf/hwp/build_winkle_images
parent6f2f3aa49961f017af6de723c28cf004ca8fbc36 (diff)
downloadtalos-hostboot-c458b54157b6cb417db2f2cf158b7379f00b7557.tar.gz
talos-hostboot-c458b54157b6cb417db2f2cf158b7379f00b7557.zip
NITPROC: Hostboot - Updated HWPs from defects SW213666/SW214730/SW214731
SW213666 SW214730 SW214731 Change-Id: I5301c3df79b54f50f227c0625be847bd21ca9b75 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5801 Tested-by: Jenkins Server Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/build_winkle_images')
-rw-r--r--src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_pm.H42
1 files changed, 22 insertions, 20 deletions
diff --git a/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_pm.H b/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_pm.H
index b059d169a..5a26c3ce1 100644
--- a/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_pm.H
+++ b/src/usr/hwpf/hwp/build_winkle_images/p8_set_pore_bar/p8_pm.H
@@ -20,7 +20,7 @@
/* Origin: 30 */
/* */
/* IBM_PROLOG_END_TAG */
-// $Id: p8_pm.H,v 1.6 2013/05/31 10:53:14 pchatnah Exp $
+// $Id: p8_pm.H,v 1.7 2013/08/02 19:02:43 stillgs Exp $
// $Source: /afs/awd/projects/eclipz/KnowledgeBase/.cvsroot/eclipz/chips/p8/working/procedures/ipl/fapi/p8_pm.H,v $
//------------------------------------------------------------------------------
// *|
@@ -64,8 +64,10 @@ enum p8_PM_FLOW_MODE {
PM_SETUP = 0x4,
PM_SETUP_PIB = 0x5,
PM_SETUP_ALL = 0x6,
- PM_RESET_NOPMC = 0x7,
- PM_INIT_SPECIAL = 0x8
+ PM_RESET_SOFT = 0x7,
+ PM_CONFIG_SOFT = PM_CONFIG,
+ PM_INIT_SOFT = 0x8,
+ PM_INIT_SPECIAL = 0x9
};
#endif // _P8_PM_FLOW_MODE
@@ -74,18 +76,18 @@ enum p8_PM_FLOW_MODE {
// Assume the error path is to break out of the current loop. If nested loops
// are employed, the error_flag can be used to break out of the necessary
// levels.
-#define PUTSCOM(_mi_target, _mi_address, _mi_buffer){ \
- l_rc = fapiPutScom(_mi_target, _mi_address, _mi_buffer); \
- if(!l_rc.ok()) \
+#define PUTSCOM(_mi_rc, _mi_target, _mi_address, _mi_buffer){ \
+ _mi_rc = fapiPutScom(_mi_target, _mi_address, _mi_buffer); \
+ if(!_mi_rc.ok()) \
{ \
FAPI_ERR("PutScom error to address 0x%08llx", _mi_address); \
break; \
} \
}
-#define GETSCOM(_mi_target, _mi_address, _mi_buffer){ \
- l_rc = fapiGetScom(_mi_target, _mi_address, _mi_buffer); \
- if(!l_rc.ok()) \
+#define GETSCOM(_mi_rc, _mi_target, _mi_address, _mi_buffer){ \
+ _mi_rc = fapiGetScom(_mi_target, _mi_address, _mi_buffer); \
+ if(!_mi_rc.ok()) \
{ \
FAPI_ERR("GetScom error to address 0x%08llx", _mi_address); \
break; \
@@ -101,11 +103,11 @@ enum p8_PM_FLOW_MODE {
} \
}
-#define GETATTR_DEFAULT(_mi_attr, _mi_attr_name, _mi_target, _mi_value, _mi_default){\
- rc = FAPI_ATTR_GET(_mi_attr, _mi_target, _mi_value); \
- if (rc) \
+#define GETATTR_DEFAULT(_mi_rc, _mi_attr, _mi_attr_name, _mi_target, _mi_value, _mi_default){\
+ _mi_rc = FAPI_ATTR_GET(_mi_attr, _mi_target, _mi_value); \
+ if (_mi_rc) \
{ \
- FAPI_ERR("fapiGetAttribute of %s with rc = 0x%x", _mi_attr_name, (uint32_t)rc); \
+ FAPI_ERR("fapiGetAttribute of %s with rc = 0x%x", _mi_attr_name, (uint32_t)_mi_rc); \
break; \
} \
FAPI_INF (" value read from attribute %s = 0x%x", _mi_attr_name, _mi_value ); \
@@ -116,9 +118,9 @@ enum p8_PM_FLOW_MODE {
} \
}
-#define GETATTR(_mi_attr, _mi_attr_name, _mi_target, _mi_value){\
- rc = FAPI_ATTR_GET(_mi_attr, _mi_target, _mi_value); \
- if (rc) \
+#define GETATTR(_mi_rc, _mi_attr, _mi_attr_name, _mi_target, _mi_value){\
+ _mi_rc = FAPI_ATTR_GET(_mi_attr, _mi_target, _mi_value); \
+ if (_mi_rc) \
{ \
FAPI_ERR("fapiGetAttribute of %s with rc = 0x%x", _mi_attr_name, (uint32_t)rc); \
break; \
@@ -126,11 +128,11 @@ enum p8_PM_FLOW_MODE {
FAPI_INF (" value read from attribute %s = 0x%x", _mi_attr_name, _mi_value ); \
}
-#define SETATTR(_mi_attr, _mi_attr_name, _mi_target, _mi_value){\
- rc = FAPI_ATTR_SET(_mi_attr, _mi_target, _mi_value); \
- if (rc) \
+#define SETATTR(_mi_rc, _mi_attr, _mi_attr_name, _mi_target, _mi_value){\
+ _mi_rc = FAPI_ATTR_SET(_mi_attr, _mi_target, _mi_value); \
+ if (_mi_rc) \
{ \
- FAPI_ERR("fapiSetAttribute of %s with rc = 0x%x", _mi_attr_name, (uint32_t)rc); \
+ FAPI_ERR("fapiSetAttribute of %s with rc = 0x%x", _mi_attr_name, (uint32_t)_mi_rc); \
break; \
} \
FAPI_INF (" value written to attribute %s = 0x%x", _mi_attr_name, _mi_value ); \
OpenPOWER on IntegriCloud