summaryrefslogtreecommitdiffstats
path: root/src/include/usr/i2c/i2cif.H
diff options
context:
space:
mode:
authorTerry J. Opie <opiet@us.ibm.com>2012-11-27 14:15:04 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-12-13 16:03:20 -0600
commitae09857da206659ed5a43a416a2827515a5ec3b5 (patch)
tree85aa81be071a1dcef15719e965e455d3a3dc1a6c /src/include/usr/i2c/i2cif.H
parent0e3cbd6ef804c8bd95711b6674ec13048b67a987 (diff)
downloadtalos-hostboot-ae09857da206659ed5a43a416a2827515a5ec3b5.tar.gz
talos-hostboot-ae09857da206659ed5a43a416a2827515a5ec3b5.zip
Program I2C Bus Divisor Value
Change-Id: I784a6b598298fcd09dcd5c108e0a47f1e7daa544 RTC: 49136 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2440 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
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