From 192aff0a38f60718af72a730b0c968a35a56d74f Mon Sep 17 00:00:00 2001 From: Bill Schwartz Date: Wed, 21 May 2014 11:26:40 -0500 Subject: Oscillator Init Code updates Add supports for ATTR_OSCSWITCH_CTL0,1,2 and ATTR_REDUNDANT_CLOCKS Change-Id: I06872a90b77f1de242bce71381db99d0650f57d2 CQ: SW241624 RTC: 107923 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11214 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III --- src/usr/hwpf/plat/fapiPlatAttributeService.C | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/usr/hwpf/plat/fapiPlatAttributeService.C') diff --git a/src/usr/hwpf/plat/fapiPlatAttributeService.C b/src/usr/hwpf/plat/fapiPlatAttributeService.C index ac58d87b4..6616883a9 100644 --- a/src/usr/hwpf/plat/fapiPlatAttributeService.C +++ b/src/usr/hwpf/plat/fapiPlatAttributeService.C @@ -52,6 +52,7 @@ #include #include #include +#include #include #include #include @@ -1553,6 +1554,20 @@ fapi::ReturnCode fapiPlatGetSpdModspecComRefRawCard return l_rc; } +//----------------------------------------------------------------------------- +fapi::ReturnCode fapiPlatGetOscswitchCtl + (const fapi::Target * i_pProcTarget, + const fapi::getOscswitchCtl::Attr i_attr, + void * o_pVal, + const size_t i_len) +{ + fapi::ReturnCode l_rc; + + FAPI_EXEC_HWP(l_rc,getOscswitchCtlAttr,*i_pProcTarget,i_attr,o_pVal,i_len); + + return l_rc; +} + } // End platAttrSvc namespace -- cgit v1.2.3