diff options
author | Bill Schwartz <whs@us.ibm.com> | 2014-05-21 11:26:40 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-05-29 12:12:29 -0500 |
commit | 192aff0a38f60718af72a730b0c968a35a56d74f (patch) | |
tree | 3492508d5b16d0d1850e7e515ad62988389fd04e /src/usr/hwpf/plat/fapiPlatAttributeService.C | |
parent | 2e0d16d32cb3ad4b5d8ead6531450204e2fec4e3 (diff) | |
download | blackbird-hostboot-192aff0a38f60718af72a730b0c968a35a56d74f.tar.gz blackbird-hostboot-192aff0a38f60718af72a730b0c968a35a56d74f.zip |
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 <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/plat/fapiPlatAttributeService.C')
-rw-r--r-- | src/usr/hwpf/plat/fapiPlatAttributeService.C | 15 |
1 files changed, 15 insertions, 0 deletions
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 <hwpf/hwp/mvpd_accessors/getMBvpdSensorMap.H> #include <hwpf/hwp/mvpd_accessors/accessMBvpdL4BankDelete.H> #include <hwpf/hwp/chip_accessors/getPciOscswitchConfig.H> +#include <hwpf/hwp/chip_accessors/getOscswitchCtlAttr.H> #include <fapiPllRingAttr.H> #include <hwpf/hwp/pll_accessors/getPllRingAttr.H> #include <hwpf/hwp/pll_accessors/getPllRingInfoAttr.H> @@ -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 |