summaryrefslogtreecommitdiffstats
path: root/src/import/chips
diff options
context:
space:
mode:
authorBrian Silver <bsilver@us.ibm.com>2015-11-30 07:14:46 -0600
committerStephen Cprek <smcprek@us.ibm.com>2016-02-19 17:06:51 -0600
commit8e11971cc91b377ff466355bf688bf8c2db86e21 (patch)
tree8ebecf1fbd583e35c2202fd54241a43156d59735 /src/import/chips
parentf529f486d5448c9c44c2658773212da8f406458a (diff)
downloadtalos-hostboot-8e11971cc91b377ff466355bf688bf8c2db86e21.tar.gz
talos-hostboot-8e11971cc91b377ff466355bf688bf8c2db86e21.zip
Add p9_mss_scrub level 1
Remove using declarations from common header Change-Id: I18554ae892f6cb3f0457702bddb5cb2f29a7ea2f Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22342 Tested-by: Jenkins Server Reviewed-by: Craig C. Hamilton <cchamilt@us.ibm.com> Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'src/import/chips')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.C46
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.H50
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.mk21
3 files changed, 117 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.C b/src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.C
new file mode 100644
index 000000000..1af40b0a9
--- /dev/null
+++ b/src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.C
@@ -0,0 +1,46 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: chips/centaur/procedures/ipl/hwp/p9_mss_scrub.C $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* EKB Project */
+/* */
+/* COPYRIGHT 2015 */
+/* [+] International Business Machines Corp. */
+/* */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* IBM_PROLOG_END_TAG */
+
+///
+/// @file p9_mss_scrub.C
+/// @brief Begin background scrub
+///
+// *HWP HWP Owner: Brian Silver <bsilver@us.ibm.com>
+// *HWP HWP Backup: Luke Mulkey <lwmulkey@us.ibm.com>
+// *HWP FW Owner: Andre Marin <aamarin@us.ibm.com>
+// *HWP Team: Memory
+// *HWP Level: 1
+// *HWP Consumed by: FSP:HB
+
+#include <fapi2.H>
+
+using fapi2::TARGET_TYPE_MCBIST;
+using fapi2::FAPI2_RC_SUCCESS;
+
+///
+/// @brief Begin background scrub
+/// @param[in] i_target, MCBIST
+/// @return FAPI2_RC_SUCCESS iff ok
+///
+fapi2::ReturnCode p9_mss_scrub( const fapi2::Target<TARGET_TYPE_MCBIST>& i_target )
+{
+ FAPI_INF("Start mss scrub");
+ FAPI_INF("End mss scrub");
+ return FAPI2_RC_SUCCESS;
+}
diff --git a/src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.H b/src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.H
new file mode 100644
index 000000000..a30fea505
--- /dev/null
+++ b/src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.H
@@ -0,0 +1,50 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: chips/centaur/procedures/ipl/hwp/p9_mss_scrub.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* EKB Project */
+/* */
+/* COPYRIGHT 2015 */
+/* [+] International Business Machines Corp. */
+/* */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* IBM_PROLOG_END_TAG */
+
+///
+/// @file p9_mss_scrub.H
+/// @brief Begin background scrub
+///
+// *HWP HWP Owner: Brian Silver <bsilver@us.ibm.com>
+// *HWP HWP Backup: Luke Mulkey <lwmulkey@us.ibm.com>
+// *HWP FW Owner: Andre Marin <aamarin@us.ibm.com>
+// *HWP Team: Memory
+// *HWP Level: 1
+// *HWP Consumed by: FSP:HB
+
+#ifndef __P9_MSS_SCRUB__
+#define __P9_MSS_SCRUB__
+
+#include <fapi2.H>
+
+typedef fapi2::ReturnCode (*p9_mss_scrub_FP_t) (const fapi2::Target<fapi2::TARGET_TYPE_MCBIST>&);
+
+extern "C"
+{
+
+ ///
+ /// @brief Begin background scrub
+ /// @param[in] i_target, MCBIST
+ /// @return FAPI2_RC_SUCCESS iff ok
+ ///
+ fapi2::ReturnCode p9_mss_scrub( const fapi2::Target<fapi2::TARGET_TYPE_MCBIST>& i_target );
+
+}
+
+#endif
diff --git a/src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.mk b/src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.mk
new file mode 100644
index 000000000..fbdb90b95
--- /dev/null
+++ b/src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.mk
@@ -0,0 +1,21 @@
+# IBM_PROLOG_BEGIN_TAG
+# This is an automatically generated prolog.
+#
+# $Source: chips/p9/procedures/hwp/memory/p9_mss_scrub.mk $
+#
+# IBM CONFIDENTIAL
+#
+# EKB Project
+#
+# COPYRIGHT 2015
+# [+] International Business Machines Corp.
+#
+#
+# The source code for this program is not published or otherwise
+# divested of its trade secrets, irrespective of what has been
+# deposited with the U.S. Copyright Office.
+#
+# IBM_PROLOG_END_TAG
+
+PROCEDURE=p9_mss_scrub
+$(call BUILD_PROCEDURE)
OpenPOWER on IntegriCloud