summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwpf
diff options
context:
space:
mode:
authorBill Schwartz <whs@us.ibm.com>2014-01-17 18:08:48 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-01-23 21:08:29 -0600
commit9835df28b3a837c76550f8eec927f2731e738f94 (patch)
tree8e9a59d4b210db83523253bf4dd5d07f3c4ea6b2 /src/include/usr/hwpf
parent631a2ca83941e741f6464a553c84a5620b202773 (diff)
downloadtalos-hostboot-9835df28b3a837c76550f8eec927f2731e738f94.tar.gz
talos-hostboot-9835df28b3a837c76550f8eec927f2731e738f94.zip
INITPROC: cen_mem_pll_initf update to permit dynamic
Add to the getPllRingInfoAttr hwp pll accessor to handle attribute ATTR_MEMB_MEM_PLL_CFG_UPDATE_OFFSET Change-Id: Ic0fe84225122e54f2785fc16ef21183ac9fe7935 CQ: SW241649 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8139 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwpf')
-rw-r--r--src/include/usr/hwpf/hwp/pll_accessors/getPllRingInfoAttr.H5
-rw-r--r--src/include/usr/hwpf/plat/fapiPlatAttributeService.H7
2 files changed, 9 insertions, 3 deletions
diff --git a/src/include/usr/hwpf/hwp/pll_accessors/getPllRingInfoAttr.H b/src/include/usr/hwpf/hwp/pll_accessors/getPllRingInfoAttr.H
index f2696525c..8696dba16 100644
--- a/src/include/usr/hwpf/hwp/pll_accessors/getPllRingInfoAttr.H
+++ b/src/include/usr/hwpf/hwp/pll_accessors/getPllRingInfoAttr.H
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2013 */
+/* COPYRIGHT International Business Machines Corp. 2013,2014 */
/* */
/* p1 */
/* */
@@ -20,7 +20,7 @@
/* Origin: 30 */
/* */
/* IBM_PROLOG_END_TAG */
-// $Id: getPllRingInfoAttr.H,v 1.1 2013/12/05 18:23:29 mjjones Exp $
+// $Id: getPllRingInfoAttr.H,v 1.2 2014/01/17 23:50:25 whs Exp $
/**
* @file getPllRingInfoAttr.H
*
@@ -46,6 +46,7 @@ namespace fapi
PROC_ABUS_CUPLL_REFCLKSEL_OFFSET = 0x04,
MEMB_DMI_CUPLL_PFD360_OFFSET = 0x05,
MEMB_DMI_CUPLL_REFCLKSEL_OFFSET = 0x06,
+ MEMB_MEM_PLL_CFG_UPDATE_OFFSET = 0x07,
};
}
}
diff --git a/src/include/usr/hwpf/plat/fapiPlatAttributeService.H b/src/include/usr/hwpf/plat/fapiPlatAttributeService.H
index 709f70a93..8deb64e68 100644
--- a/src/include/usr/hwpf/plat/fapiPlatAttributeService.H
+++ b/src/include/usr/hwpf/plat/fapiPlatAttributeService.H
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2011,2013 */
+/* COPYRIGHT International Business Machines Corp. 2011,2014 */
/* */
/* p1 */
/* */
@@ -1633,6 +1633,11 @@ fapi::ReturnCode fapiPlatGetL3DDAttr(const fapi::Target * i_pProcTarget,
#define ATTR_MEMB_DMI_CUPLL_REFCLKSEL_OFFSET_GETMACRO(ID, PTARGET, VAL) \
fapi::AttrOverrideSync::getAttrOverrideFunc(fapi::ID, PTARGET, &VAL) ? fapi::FAPI_RC_SUCCESS : \
fapi::platAttrSvc::fapiPlatGetPllInfoAttr(PTARGET, fapi::getPllRingInfo::MEMB_DMI_CUPLL_REFCLKSEL_OFFSET, &VAL, sizeof(VAL))
+#define ATTR_MEMB_MEM_PLL_CFG_UPDATE_OFFSET_GETMACRO(ID, PTARGET, VAL) \
+ fapi::AttrOverrideSync::getAttrOverrideFunc(fapi::ID, PTARGET, &VAL) ?\
+ fapi::FAPI_RC_SUCCESS : \
+ fapi::platAttrSvc::fapiPlatGetPllInfoAttr(PTARGET,\
+ fapi::getPllRingInfo::MEMB_MEM_PLL_CFG_UPDATE_OFFSET, &VAL, sizeof(VAL))
//------------------------------------------------------------------------------
// MACROs to support DIMM SPD Attributes that are handled by an Accessor HWP
OpenPOWER on IntegriCloud