summaryrefslogtreecommitdiffstats
path: root/src/sbefw/sbecmdcntrldmt.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbefw/sbecmdcntrldmt.C')
-rw-r--r--src/sbefw/sbecmdcntrldmt.C8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sbefw/sbecmdcntrldmt.C b/src/sbefw/sbecmdcntrldmt.C
index a1a43c96..d948310b 100644
--- a/src/sbefw/sbecmdcntrldmt.C
+++ b/src/sbefw/sbecmdcntrldmt.C
@@ -45,9 +45,11 @@
using namespace fapi2;
+#ifdef SEEPROM_IMAGE
// Using Function pointer to force long call
p9_sbe_check_master_stop15_FP_t p9_sbe_check_master_stop15_hwp =
&p9_sbe_check_master_stop15;
+#endif
////////////////////////////////////////////////////////////////////
//Static initialization of the Dmt Pk timer
@@ -154,7 +156,7 @@ uint32_t sbeStartCntlDmt()
// Go around a loop till you get FAPI2_RC_SUCCESS
do
{
- l_fapiRc = p9_sbe_check_master_stop15_hwp(l_coreTgt);
+ SBE_EXEC_HWP(l_fapiRc, p9_sbe_check_master_stop15_hwp, l_coreTgt)
//Conversion is required here, since ReturnCode doesn't support
//comparision '!=' or '=='
//TODO RTC:149021
@@ -172,8 +174,8 @@ uint32_t sbeStartCntlDmt()
// Only for Pending and Success case
if(RC_CHECK_MASTER_STOP15_PENDING != l_rcFapi) // Success
{
- l_fapiRc = p9_block_wakeup_intr(l_coreTgt,
- p9pmblockwkup::CLEAR );
+ SBE_EXEC_HWP(l_fapiRc, p9_block_wakeup_intr, l_coreTgt,
+ p9pmblockwkup::CLEAR )
if( l_fapiRc )
{
SBE_ERROR(SBE_FUNC" p9_block_wakeup_intr failed ");
OpenPOWER on IntegriCloud