summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp
diff options
context:
space:
mode:
authorGreg Still <stillgs@us.ibm.com>2015-10-30 22:57:54 -0500
committerStephen Cprek <smcprek@us.ibm.com>2016-02-19 17:06:49 -0600
commit37e8afd1f88fc71af5c4f83046ee83a4703748ff (patch)
tree4d783e92cbc7a2c083db7230a82231bd491e290c /src/import/chips/p9/procedures/hwp
parent79be3a4c5d10651f9b09541110408990634a5d93 (diff)
downloadtalos-hostboot-37e8afd1f88fc71af5c4f83046ee83a4703748ff.tar.gz
talos-hostboot-37e8afd1f88fc71af5c4f83046ee83a4703748ff.zip
p9_update_ec_eq_state.H Level 1
Change-Id: Ib0da10b08c9470f5bcd51e2e3d509f14e699a4a0 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21647 Tested-by: Jenkins Server Reviewed-by: Bilicon Patil <bilpatil@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp')
-rw-r--r--src/import/chips/p9/procedures/hwp/pm/p9_update_ec_eq_state.C66
-rw-r--r--src/import/chips/p9/procedures/hwp/pm/p9_update_ec_eq_state.H62
-rw-r--r--src/import/chips/p9/procedures/hwp/pm/p9_update_ec_eq_state.mk20
3 files changed, 148 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/pm/p9_update_ec_eq_state.C b/src/import/chips/p9/procedures/hwp/pm/p9_update_ec_eq_state.C
new file mode 100644
index 000000000..7960f421c
--- /dev/null
+++ b/src/import/chips/p9/procedures/hwp/pm/p9_update_ec_eq_state.C
@@ -0,0 +1,66 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: chips/p9/procedures/ipl/hwp/p9_update_ec_eq_state.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_update_ec_eq_state.H
+/// @brief Update the "permanent" multicast groups reflect any additional
+/// deconfigured by Hostboot
+///
+// *HWP HWP Owner: Amit Kumar <akumar3@us.ibm.com>
+// *HWP Backup HWP Owner: Greg Still <stillgs@us.ibm.com>
+// *HWP FW Owner: Sangeetha T S <sangeet2@in.ibm.com>
+// *HWP Team: PM
+// *HWP Level: 1
+// *HWP Consumed by: SBE
+///
+///
+///
+/// High-level procedure flow:
+/// @verbatim
+/// Update the "permanent" multicast groups reflect any additional
+/// deconfiguration by Hostboot
+/// Use the functional state to find all good cores
+/// Write the good core and quad mask into OCC CCSR and QCSR respectively
+/// These become the "master record " of the enabled cores/quad in
+/// the system for runtime
+/// @endverbatim
+
+// -----------------------------------------------------------------------------
+// Includes
+// -----------------------------------------------------------------------------
+#include "p9_update_ec_eq_state.H"
+
+// -----------------------------------------------------------------------------
+// Function prototypes
+// -----------------------------------------------------------------------------
+
+// -----------------------------------------------------------------------------
+// Function definitions
+// -----------------------------------------------------------------------------
+
+
+// See .H for documentation
+fapi2::ReturnCode p9_update_ec_eq_state(
+ const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_target)
+{
+ FAPI_IMP("p9_update_ec_eq_state start");
+
+ FAPI_INF("p9_update_ec_eq_state end");
+
+ return fapi2::current_err;
+} // END p9_update_ec_eq_state
diff --git a/src/import/chips/p9/procedures/hwp/pm/p9_update_ec_eq_state.H b/src/import/chips/p9/procedures/hwp/pm/p9_update_ec_eq_state.H
new file mode 100644
index 000000000..2ff928c35
--- /dev/null
+++ b/src/import/chips/p9/procedures/hwp/pm/p9_update_ec_eq_state.H
@@ -0,0 +1,62 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: chips/p9/procedures/ipl/hwp/p9_update_ec_eq_state.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_update_ec_eq_state.H
+/// @brief Update the "permanent" multicast groups reflect any additional
+/// deconfigured by Hostboot
+// *HWP HWP Owner: Amit Kumar <akumar3@us.ibm.com>
+// *HWP Backup HWP Owner: Greg Still <stillgs@us.ibm.com>
+// *HWP FW Owner: Sangeetha T S <sangeet2@in.ibm.com>
+// *HWP Team: PM
+// *HWP Level: 1
+// *HWP Consumed by: SBE
+///
+
+#ifndef _p9_update_ec_eq_state_H_
+#define _p9_update_ec_eq_state_H_
+
+//------------------------------------------------------------------------------
+// Includes
+//------------------------------------------------------------------------------
+
+#include <fapi2.H>
+#include <p9_misc_scom_addresses.H>
+
+
+// function pointer typedef definition for HWP call support
+typedef fapi2::ReturnCode (*p9_update_ec_eq_state_FP_t) (
+ const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>&);
+
+extern "C" {
+
+// -----------------------------------------------------------------------------
+// Function prototype
+// -----------------------------------------------------------------------------
+
+/// @brief Select the Hostboot core from the available cores on the chip
+///
+/// @param [in] i_target Chip target
+///
+
+ fapi2::ReturnCode p9_update_ec_eq_state(
+ const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_target);
+
+} // extern "C"
+
+#endif // _p9_update_ec_eq_state_H_
diff --git a/src/import/chips/p9/procedures/hwp/pm/p9_update_ec_eq_state.mk b/src/import/chips/p9/procedures/hwp/pm/p9_update_ec_eq_state.mk
new file mode 100644
index 000000000..f8f93bc46
--- /dev/null
+++ b/src/import/chips/p9/procedures/hwp/pm/p9_update_ec_eq_state.mk
@@ -0,0 +1,20 @@
+# IBM_PROLOG_BEGIN_TAG
+# This is an automatically generated prolog.
+#
+# $Source: chips/p9/procedures/ipl/hwp/p9_update_ec_eq_state.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_update_ec_eq_state
+$(call BUILD_PROCEDURE)
OpenPOWER on IntegriCloud