summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/pm/p9_pm_ocb_indir_setup_linear.C
diff options
context:
space:
mode:
authorJoe McGill <jmcgill@us.ibm.com>2015-09-22 22:15:06 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-06-16 00:43:18 -0400
commit571496d186116a7389beaa39adc6eb5f829dd499 (patch)
tree43658f0fc6e496523acf6485dcf483a188ee943d /src/import/chips/p9/procedures/hwp/pm/p9_pm_ocb_indir_setup_linear.C
parentbdc9890ab52cef2d5aa9b26bd0334726a42b13ad (diff)
downloadtalos-hostboot-571496d186116a7389beaa39adc6eb5f829dd499.tar.gz
talos-hostboot-571496d186116a7389beaa39adc6eb5f829dd499.zip
Shift HWP content to align with desired EKB layout
Change-Id: I11cd320c8c79a88362ad6338e953baa1b47fe941 Original-Change-Id: Id22bf63b31e0631685139b9695c5a443cf4f2298 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20714 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25887 Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/pm/p9_pm_ocb_indir_setup_linear.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/pm/p9_pm_ocb_indir_setup_linear.C61
1 files changed, 61 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/pm/p9_pm_ocb_indir_setup_linear.C b/src/import/chips/p9/procedures/hwp/pm/p9_pm_ocb_indir_setup_linear.C
new file mode 100644
index 000000000..6552402ea
--- /dev/null
+++ b/src/import/chips/p9/procedures/hwp/pm/p9_pm_ocb_indir_setup_linear.C
@@ -0,0 +1,61 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: chips/p9/procedures/ipl/hwp/p9_pm_ocb_indir_setup_linear.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 p8_ocb_indir_setup_linear.C
+/// @brief Configure OCB Channel for Linear Streaming or Non-streaming mode
+
+// *HWP HWP Owner : Amit Kumar <akumar3@us.ibm.com>
+// *HWP Backup HWP Owner:
+// *HWP FW Owner : Bilicon Patil <bilpatil@in.ibm.com>
+// *HWP Team : PM
+// *HWP Level : 1
+// *HWP Consumed by : HS
+
+/// High-level procedure flow:
+/// @verbatim
+/// Setup specified channel to linear streaming or non-streaming mode by
+/// calling proc proc_ocb_init
+///
+/// Procedure Prereq:
+/// - System clocks are running
+/// @endverbatim
+///
+//------------------------------------------------------------------------------
+
+// ----------------------------------------------------------------------
+// Includes
+// ----------------------------------------------------------------------
+
+#include <p9_pm.H>
+#include <p9_pm_ocb_indir_setup_linear.H>
+
+// ----------------------------------------------------------------------
+// Function definitions
+// ----------------------------------------------------------------------
+fapi2::ReturnCode p9_pm_ocb_indir_setup_linear(
+ const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_target,
+ p9ocb::P9_OCB_CHAN_NUM i_ocb_chan,
+ p9ocb::P9_OCB_CHAN_TYPE i_ocb_type,
+ const uint32_t i_ocb_bar)
+{
+ FAPI_IMP("Entering...");
+ FAPI_DBG("For channel %x as type %x, OCB Bar %x",
+ i_ocb_chan, i_ocb_type, i_ocb_bar);
+
+ return fapi2::FAPI2_RC_SUCCESS;
+}
OpenPOWER on IntegriCloud