summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMike Jones <mjjones@us.ibm.com>2013-10-01 08:21:42 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-10-03 11:58:12 -0500
commitb4a1de33d66270d23dbb1eea368fa5a12c1a0d82 (patch)
tree4f0ce8e62f8dd37bb08297204324c42a31972b07 /src
parent584730a19dc3c18c6c00376ecd5c592e65ade0de (diff)
downloadtalos-hostboot-b4a1de33d66270d23dbb1eea368fa5a12c1a0d82.tar.gz
talos-hostboot-b4a1de33d66270d23dbb1eea368fa5a12c1a0d82.zip
Enable FAPI->HWAS Clock callouts
When the FAPI code was done last month, the HWAS code was going through review, this change is to simply enable the code that finds a clock callout in a fapi::ReturnCode to create a clock callout in a Hostboot error log Change-Id: I34eb865d0001b2d82f93714db5c69681bd5e390f RTC: 82509 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6422 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Donald E. Dahle <dedahle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/usr/hwpf/plat/fapiPlatHwpInvoker.C10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/usr/hwpf/plat/fapiPlatHwpInvoker.C b/src/usr/hwpf/plat/fapiPlatHwpInvoker.C
index f23a76931..6739be5b2 100644
--- a/src/usr/hwpf/plat/fapiPlatHwpInvoker.C
+++ b/src/usr/hwpf/plat/fapiPlatHwpInvoker.C
@@ -75,9 +75,8 @@ HWAS::callOutPriority xlateCalloutPriority(
*
* @return HWAS Clock HW callout
*/
-/* TODO Enable in RTC 82509 when ERRL interfaces are in place
HWAS::clockTypeEnum xlateClockHwCallout(
- const fapi::HwCallouts::Hw Callout i_fapiClock)
+ const fapi::HwCallouts::HwCallout i_fapiClock)
{
// Use the HwCallout enum value as an index
HWAS::clockTypeEnum l_clock = HWAS::TODCLK_TYPE;
@@ -95,13 +94,12 @@ HWAS::clockTypeEnum xlateClockHwCallout(
}
else
{
- FAPI_ERR("fapi::xlateClockCallout: Unknown clock 0x%x, assuming TOD",
+ FAPI_ERR("fapi::xlateClockHwCallout: Unknown clock 0x%x, assuming TOD",
i_fapiClock);
}
return l_clock;
}
-*/
/**
* @brief Translates a FAPI procedure callout to an HWAS procedure callout
@@ -248,16 +246,12 @@ void processEIHwCallouts(const ErrorInfo & i_errInfo,
(l_hw == HwCallouts::PCI_REF_CLOCK)) &&
l_pRefTarget != NULL)
{
- /* TODO Enable in RTC 82509 when ERRL interfaces are in place
HWAS::clockTypeEnum l_clock =
xlateClockHwCallout((*l_itr)->iv_hw);
FAPI_ERR("processEIHwCallouts: Adding clock-callout (clock:%d, pri:%d)",
l_clock, l_priority);
io_pError->addClockCallout(l_pRefTarget, l_clock, l_priority);
- */
- FAPI_ERR("processEIHwCallouts: Adding clock-callout TBD (hw:%d, pri:%d)",
- l_hw, l_priority);
}
else
{
OpenPOWER on IntegriCloud