summaryrefslogtreecommitdiffstats
path: root/src/include/usr/i2c/i2cif.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/i2c/i2cif.H')
-rw-r--r--src/include/usr/i2c/i2cif.H42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/include/usr/i2c/i2cif.H b/src/include/usr/i2c/i2cif.H
new file mode 100644
index 000000000..6373337b8
--- /dev/null
+++ b/src/include/usr/i2c/i2cif.H
@@ -0,0 +1,42 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/usr/i2c/i2cif.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* 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. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
+#ifndef __I2CIF_H
+#define __I2CIF_H
+
+namespace I2C
+{
+
+/**
+ * @brief This function will handle everything required to setup the master
+ * engines.
+ * Mainly, as of current code, this is being used to write the I2C Bus
+ * Divisor values to the master engines to be used by Phyp.
+ *
+ * @return errlHndl_t - Null if successful, otherwise a pointer to
+ * the error log.
+ */
+errlHndl_t i2cSetupMasters ( void );
+
+}; // end namespace I2C
+
+#endif // end __I2CIF_H
OpenPOWER on IntegriCloud