summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAbhishek Agarwal <abagarw8@in.ibm.com>2016-06-10 08:49:49 +0200
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-06-10 22:17:09 -0400
commit30a0eb25085ecffacfa5825906068d56a875f8c3 (patch)
tree6b95841fe3cacdc2cfca1a484e9e7ec81e7e0dad /src
parent5db2457bf6c13052f31bdf7f6dff14373f78142d (diff)
downloadblackbird-hostboot-30a0eb25085ecffacfa5825906068d56a875f8c3.tar.gz
blackbird-hostboot-30a0eb25085ecffacfa5825906068d56a875f8c3.zip
Level 1 HWP p9_getecid
Change-Id: I09de2a7a05890f9bb23244989d1a2dc22026e62c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25608 Tested-by: Jenkins Server Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25675 Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/import/chips/p9/procedures/hwp/perv/p9_getecid.C46
-rw-r--r--src/import/chips/p9/procedures/hwp/perv/p9_getecid.H53
-rw-r--r--src/import/chips/p9/procedures/hwp/perv/p9_getecid.mk20
3 files changed, 119 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_getecid.C b/src/import/chips/p9/procedures/hwp/perv/p9_getecid.C
new file mode 100644
index 000000000..ad2d909a8
--- /dev/null
+++ b/src/import/chips/p9/procedures/hwp/perv/p9_getecid.C
@@ -0,0 +1,46 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: chips/p9/procedures/hwp/perv/p9_getecid.C $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* EKB Project */
+/* */
+/* COPYRIGHT 2016 */
+/* [+] 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_getecid.C
+///
+/// @brief Get ECID string from target using SCOM
+//------------------------------------------------------------------------------
+// *HWP HW Owner : Abhishek Agarwal <abagarw8@in.ibm.com>
+// *HWP HW Backup Owner : Srinivas V Naga <srinivan@in.ibm.com>
+// *HWP FW Owner : sunil kumar <skumar8j@in.ibm.com>
+// *HWP Team : Perv
+// *HWP Level : 1
+// *HWP Consumed by : SBE
+//------------------------------------------------------------------------------
+
+
+//## auto_generated
+#include "p9_getecid.H"
+
+
+fapi2::ReturnCode p9_getecid(const
+ fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_target_chip, const fapi2::variable_buffer& o_fuseString)
+{
+ FAPI_INF("Entering ...");
+
+ FAPI_INF("Exiting ...");
+
+ return fapi2::FAPI2_RC_SUCCESS;
+
+}
diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_getecid.H b/src/import/chips/p9/procedures/hwp/perv/p9_getecid.H
new file mode 100644
index 000000000..4a6e06387
--- /dev/null
+++ b/src/import/chips/p9/procedures/hwp/perv/p9_getecid.H
@@ -0,0 +1,53 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: chips/p9/procedures/hwp/perv/p9_getecid.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* EKB Project */
+/* */
+/* COPYRIGHT 2016 */
+/* [+] 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_getecid.H
+///
+/// @brief Get ECID string from target using SCOM
+//------------------------------------------------------------------------------
+// *HWP HW Owner : Abhishek Agarwal <abagarw8@in.ibm.com>
+// *HWP HW Backup Owner : Srinivas V Naga <srinivan@in.ibm.com>
+// *HWP FW Owner : sunil kumar <skumar8j@in.ibm.com>
+// *HWP Team : Perv
+// *HWP Level : 1
+// *HWP Consumed by : SBE
+//------------------------------------------------------------------------------
+
+
+#ifndef _GETECID_H_
+#define _GETECID_H_
+
+
+#include <fapi2.H>
+
+
+typedef fapi2::ReturnCode (*p9_getecid_FP_t)(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>&,
+ const fapi2::variable_buffer& fuseString);
+
+/// @brief Get ECID string from target using SCOM
+///
+/// @param[in] i_target_chip Reference to TARGET_TYPE_PROC_CHIP target
+/// @return FAPI2_RC_SUCCESS if success, else error code.
+extern "C"
+{
+ fapi2::ReturnCode p9_getecid(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_target_chip,
+ const fapi2::variable_buffer& o_fuseString);
+}
+
+#endif
diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_getecid.mk b/src/import/chips/p9/procedures/hwp/perv/p9_getecid.mk
new file mode 100644
index 000000000..56690c1f5
--- /dev/null
+++ b/src/import/chips/p9/procedures/hwp/perv/p9_getecid.mk
@@ -0,0 +1,20 @@
+# IBM_PROLOG_BEGIN_TAG
+# This is an automatically generated prolog.
+#
+# $Source: chips/p9/procedures/hwp/perv/p9_getecid.mk $
+#
+# IBM CONFIDENTIAL
+#
+# EKB Project
+#
+# COPYRIGHT 2016
+# [+] 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_getecid
+$(call BUILD_PROCEDURE)
OpenPOWER on IntegriCloud