summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2013-08-05 09:20:20 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-08-07 16:48:28 -0500
commit4f00fd5fef1cd375f85516c8fbc3855f0dd93b5a (patch)
tree97eae2c986b122deefce06b8762a2295675976c2 /src/include
parent75ecf4cb9842739b4f495c0cf3f330f03cd348dd (diff)
downloadblackbird-hostboot-4f00fd5fef1cd375f85516c8fbc3855f0dd93b5a.tar.gz
blackbird-hostboot-4f00fd5fef1cd375f85516c8fbc3855f0dd93b5a.zip
Do not enable PCI/PHB BARs when starting PHYP
Change-Id: Ie01a1a2966a2ed6e7ca0a14ec9a4ab54f779c7e3 CQ: SW213092 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5697 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/targeting/common/util.H11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/include/usr/targeting/common/util.H b/src/include/usr/targeting/common/util.H
index 69f302df8..4ea2ab8de 100644
--- a/src/include/usr/targeting/common/util.H
+++ b/src/include/usr/targeting/common/util.H
@@ -30,7 +30,7 @@
* @brief Targeting utility functions
*/
-#include <attributeenums.H>
+#include <targeting/common/attributes.H>
namespace TARGETING
{
@@ -82,6 +82,15 @@ void update_hwas_changed_mask(Target * i_target);
*/
void clear_hwas_changed_bit(Target * i_target, const HWAS_CHANGED_BIT i_bit);
+/**
+ * @brief Checks if we are loading a PHYP payload
+ * @description Looks at both ATTR_PAYLOAD_KIND and the MNFG flags
+ * to determine if we are really loading and starting PHYP
+ * @param[out] Current value of PAYLOAD_KIND
+ * @return True if PHYP will be loaded and started
+ */
+bool is_phyp_load( ATTR_PAYLOAD_KIND_type* o_type = NULL );
+
}
#endif // __TARGETING_COMMON_UTIL_H
OpenPOWER on IntegriCloud