summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas/hwasPlatCallout.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/hwas/hwasPlatCallout.C')
-rw-r--r--src/usr/hwas/hwasPlatCallout.C24
1 files changed, 23 insertions, 1 deletions
diff --git a/src/usr/hwas/hwasPlatCallout.C b/src/usr/hwas/hwasPlatCallout.C
index 5c6f8e687..ce1ec18b6 100644
--- a/src/usr/hwas/hwasPlatCallout.C
+++ b/src/usr/hwas/hwasPlatCallout.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2017 */
+/* Contributors Listed Below - COPYRIGHT 2013,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -192,6 +192,28 @@ errlHndl_t platHandleBusCallout(
}
//******************************************************************************
+// platHandleI2cDeviceCallout
+//******************************************************************************
+errlHndl_t platHandleI2cDeviceCallout(
+ TARGETING::Target *i_i2cMaster,
+ uint8_t i_engine,
+ uint8_t i_port,
+ uint8_t i_address,
+ callOutPriority i_priority,
+ errlHndl_t &io_errl)
+{
+ // WARNING:
+ // this hostboot code should not change io_errl, unless the caller of the
+ // processCallouts() function also changes, as today it (errlentry.C) calls
+ // from the errlEntry object
+
+ errlHndl_t errl = nullptr;
+
+ // hostboot does not yet handle or do any action for i2c callouts
+ return errl;
+}
+
+//******************************************************************************
// platHandleClockCallout
//******************************************************************************
errlHndl_t platHandleClockCallout(
OpenPOWER on IntegriCloud