From a0a28214eff925dae2a5e1081c6d600560fafdb5 Mon Sep 17 00:00:00 2001 From: Dean Sanner Date: Thu, 15 Aug 2013 14:48:29 -0500 Subject: 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 --- src/include/usr/targeting/common/util.H | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/include/usr') 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 -- cgit v1.2.3