summaryrefslogtreecommitdiffstats
path: root/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_getecid.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_getecid.H')
-rw-r--r--src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_getecid.H32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_getecid.H b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_getecid.H
index d749971b0..2ab79973f 100644
--- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_getecid.H
+++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_getecid.H
@@ -22,3 +22,35 @@
/* permissions and limitations under the License. */
/* */
/* IBM_PROLOG_END_TAG */
+
+///
+/// @file exp_getecid.H
+/// @brief Contains the explorer ECID setup
+///
+// *HWP HWP Owner: Mark Pizzutillo <Mark.Pizzutillo@ibm.com>
+// *HWP HWP Backup: Stephen Glancy <sglancy@us.ibm.com>
+// *HWP Team: Memory
+// *HWP Level: 2
+// *HWP Consumed by: Memory
+
+#ifndef __EXP_GETECID_H_
+#define __EXP_GETECID_H_
+
+#include <fapi2.H>
+
+typedef fapi2::ReturnCode (*exp_getecid_FP_t) (const fapi2::Target<fapi2::TARGET_TYPE_OCMB_CHIP>&);
+
+extern "C"
+{
+
+///
+/// @brief getecid procedure for explorer chip
+/// @param[in] i_target Explorer OCMB chip
+/// @return fapi2:ReturnCode FAPI2_RC_SUCCESS if success, else error code.
+/// @note Sets ocmb_ecid, enterprise, half-dimm mode attributes. exp_omi_setup configures the chip with these attributes
+///
+ fapi2::ReturnCode exp_getecid(const fapi2::Target<fapi2::TARGET_TYPE_OCMB_CHIP>& i_target);
+
+} // extern "C"
+
+#endif
OpenPOWER on IntegriCloud