summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCHRISTINA L. GRAVES <clgraves@us.ibm.com>2016-02-11 17:29:07 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-02-22 10:56:09 -0600
commit589c4d0ce37953f9ae3a47e94fa6e931791463dc (patch)
tree842f6c52451a05327716ea6955f8aeac761e9244 /src
parent83fc98a194f3bf363f044d9694fda7324db83acf (diff)
downloadtalos-hostboot-589c4d0ce37953f9ae3a47e94fa6e931791463dc.tar.gz
talos-hostboot-589c4d0ce37953f9ae3a47e94fa6e931791463dc.zip
L2 for psi scom init
Change-Id: I8839a4c6e4d53c3394af1a5f926221dec6e48153 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24236 Tested-by: Jenkins Server Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24542 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/import/chips/p9/procedures/hwp/nest/p9_psi_scominit.C11
-rw-r--r--src/import/chips/p9/procedures/hwp/nest/p9_psi_scominit.mk3
2 files changed, 7 insertions, 7 deletions
diff --git a/src/import/chips/p9/procedures/hwp/nest/p9_psi_scominit.C b/src/import/chips/p9/procedures/hwp/nest/p9_psi_scominit.C
index e19433150..d785268a7 100644
--- a/src/import/chips/p9/procedures/hwp/nest/p9_psi_scominit.C
+++ b/src/import/chips/p9/procedures/hwp/nest/p9_psi_scominit.C
@@ -7,7 +7,7 @@
/* */
/* EKB Project */
/* */
-/* COPYRIGHT 2015 */
+/* COPYRIGHT 2015,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -33,7 +33,7 @@
// Includes
//------------------------------------------------------------------------------
#include <p9_psi_scominit.H>
-
+#include "p9_psi_scom.H"
///----------------------------------------------------------------------------
/// Constant definitions
///----------------------------------------------------------------------------
@@ -52,14 +52,13 @@ extern "C" {
const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_target)
{
FAPI_DBG("Entering p9_psi_scominit");
- fapi2::ReturnCode l_rc;
+ fapi2::ReturnCode rc;
- // TODO: Add code here.
+ FAPI_EXEC_HWP(rc, p9_psi_scom, i_target);
-// fapi_try_exit:
FAPI_DBG("Exiting p9_psi_scominit");
- return fapi2::current_err;
+ return rc;
}
} // extern "C"
diff --git a/src/import/chips/p9/procedures/hwp/nest/p9_psi_scominit.mk b/src/import/chips/p9/procedures/hwp/nest/p9_psi_scominit.mk
index 18b231ebd..2634bc551 100644
--- a/src/import/chips/p9/procedures/hwp/nest/p9_psi_scominit.mk
+++ b/src/import/chips/p9/procedures/hwp/nest/p9_psi_scominit.mk
@@ -7,7 +7,7 @@
#
# EKB Project
#
-# COPYRIGHT 2015
+# COPYRIGHT 2015,2016
# [+] International Business Machines Corp.
#
#
@@ -17,4 +17,5 @@
#
# IBM_PROLOG_END_TAG
PROCEDURE=p9_psi_scominit
+$(call ADD_MODULE_INCDIR,$(PROCEDURE),$(ROOTPATH)/chips/p9/procedures/hwp/initfiles)
$(call BUILD_PROCEDURE)
OpenPOWER on IntegriCloud