summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeng Fei GOU <shgoupf@cn.ibm.com>2017-04-23 16:21:48 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-05-22 23:57:06 -0400
commit8a22766d0c63f6dd86b1cfefb624c8645becdab3 (patch)
tree793121cf87dc466cbc1a374867d4524aa086fc19 /src
parent7c18a546cfc3937f81447c5a63371e0e3fceaf3d (diff)
downloadtalos-hostboot-8a22766d0c63f6dd86b1cfefb624c8645becdab3.tar.gz
talos-hostboot-8a22766d0c63f6dd86b1cfefb624c8645becdab3.zip
p9_cen_ref_clk_enable -- p9 initial version
1) attr ATTR_DMI_REFCLOCK_SWIZZLE for mapping 2) root control 6 manipulated for clk enabling Change-Id: I4d18d1a8003951705d316e504b9d3445c96224be Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39347 Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39389 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H21
-rw-r--r--src/import/chips/p9/procedures/xml/attribute_info/nest_attributes.xml9
2 files changed, 6 insertions, 24 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H b/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H
index 5b2252cd1..3fa215f89 100644
--- a/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H
+++ b/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H
@@ -27889,27 +27889,6 @@ fapi_try_exit:
}
///
-/// @brief ATTR_DMI_REFCLOCK_SWIZZLE getter
-/// @param[in] const ref to the TARGET_TYPE_MCS
-/// @param[out] uint8_t& reference to store the value
-/// @note Generated by gen_accessors.pl generateParameters (NODIM A)
-/// @return fapi2::ReturnCode - FAPI2_RC_SUCCESS iff get is OK
-/// @note Define DMI Ref clock/Swizzle for Centaur. Provided by the
-/// MRW
-///
-inline fapi2::ReturnCode dmi_refclock_swizzle(const fapi2::Target<fapi2::TARGET_TYPE_MCS>& i_target, uint8_t& o_value)
-{
-
- FAPI_TRY( FAPI_ATTR_GET(fapi2::ATTR_DMI_REFCLOCK_SWIZZLE, i_target, o_value) );
- return fapi2::current_err;
-
-fapi_try_exit:
- FAPI_ERR("failed accessing ATTR_DMI_REFCLOCK_SWIZZLE: 0x%lx (target: %s)",
- uint64_t(fapi2::current_err), mss::c_str(i_target));
- return fapi2::current_err;
-}
-
-///
/// @brief ATTR_SYSTEM_IPL_PHASE getter
/// @param[out] uint8_t& reference to store the value
/// @note Generated by gen_accessors.pl generateParameters (SYSTEM)
diff --git a/src/import/chips/p9/procedures/xml/attribute_info/nest_attributes.xml b/src/import/chips/p9/procedures/xml/attribute_info/nest_attributes.xml
index 67f242aeb..271edb064 100644
--- a/src/import/chips/p9/procedures/xml/attribute_info/nest_attributes.xml
+++ b/src/import/chips/p9/procedures/xml/attribute_info/nest_attributes.xml
@@ -719,9 +719,12 @@
<!-- ********************************************************************** -->
<attribute>
<id>ATTR_DMI_REFCLOCK_SWIZZLE</id>
- <targetType>TARGET_TYPE_MCS</targetType>
- <description>Define DMI Ref clock/Swizzle for Centaur.
- Provided by the MRW</description>
+ <targetType>TARGET_TYPE_DMI</targetType>
+ <description>
+ Define DMI Ref clock/Swizzle for Centaur.
+ Mapper from DMI unit id -> ROOT CNTL 6 refclk drive enable bit
+ consumer: p9_cen_ref_clk_enable
+ </description>
<valueType>uint8</valueType>
<persistRuntime/>
<platInit/>
OpenPOWER on IntegriCloud