summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2013-08-15 14:48:29 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-08-21 15:39:45 -0500
commita0a28214eff925dae2a5e1081c6d600560fafdb5 (patch)
treeac65e7477e1080fa4b288754731d5800b0668c83 /src/include/usr
parentb814311a6dc122e761336881130eace63d3533e7 (diff)
downloadblackbird-hostboot-a0a28214eff925dae2a5e1081c6d600560fafdb5.tar.gz
blackbird-hostboot-a0a28214eff925dae2a5e1081c6d600560fafdb5.zip
Update PAYLOAD_KIND to non volatile for Sapphire
Change-Id: Icc7a5782ed32cbe3fc814951613d6d2b543c7e59 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5804 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/targeting/common/util.H12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/usr/targeting/common/util.H b/src/include/usr/targeting/common/util.H
index cea0e1690..e0bb80bf5 100644
--- a/src/include/usr/targeting/common/util.H
+++ b/src/include/usr/targeting/common/util.H
@@ -101,6 +101,18 @@ bool is_phyp_load( ATTR_PAYLOAD_KIND_type* o_type = NULL );
*/
bool is_sapphire_load(void);
+/**
+ * @brief Utility function to determine if an AVP is the payload
+ * Note the actual payload could be something else -- this
+ * is based solely on MFG flags
+ *
+ * @description If MFG AVP mode flags are set then returns true
+ * Does not matter what the actual payload is
+ *
+ * @return bool True when in AVP mode
+ */
+bool is_avp_load(void);
+
}
#endif // __TARGETING_COMMON_UTIL_H
OpenPOWER on IntegriCloud