diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2016-10-12 09:15:58 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-10-14 13:52:08 -0400 |
commit | b39ed3f2e9c355655eeb8a9ba88c923d2c52320f (patch) | |
tree | a8a6d4c1c42fa0a5c1394c10fc085a38a4a478f1 | |
parent | fc04fdfdc6faa9c0546b3f21d68b5936cb816184 (diff) | |
download | talos-hostboot-b39ed3f2e9c355655eeb8a9ba88c923d2c52320f.tar.gz talos-hostboot-b39ed3f2e9c355655eeb8a9ba88c923d2c52320f.zip |
Fix I2C_BUS_DIV
Make attributes non-volatile so the FSP sees them
Set the NEST version (not REF) based on the nest freq
Change-Id: I61cf78272ed903c47f10e22f37b2152d71ac941f
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31059
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
-rw-r--r-- | src/usr/targeting/common/target.C | 2 | ||||
-rw-r--r-- | src/usr/targeting/common/xmltohb/attribute_types.xml | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/usr/targeting/common/target.C b/src/usr/targeting/common/target.C index dc6e0fbbe..3cdd449a4 100644 --- a/src/usr/targeting/common/target.C +++ b/src/usr/targeting/common/target.C @@ -735,7 +735,7 @@ void setFrequencyAttributes( Target * i_sys, l_procTarget != l_procList.end(); ++l_procTarget ) { - (*l_procTarget)->setAttr<TARGETING::ATTR_I2C_BUS_DIV_REF>(i_i2cBusDiv); + (*l_procTarget)->setAttr<TARGETING::ATTR_I2C_BUS_DIV_NEST>(i_i2cBusDiv); } } diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml index 04eaea66f..bd9b76419 100644 --- a/src/usr/targeting/common/xmltohb/attribute_types.xml +++ b/src/usr/targeting/common/xmltohb/attribute_types.xml @@ -20059,7 +20059,7 @@ Measured in GB</description> <default>0x0003</default> </uint16_t> </simpleType> - <persistency>volatile-zeroed</persistency> + <persistency>non-volatile</persistency> <writeable/> <readable/> <hwpfToHbAttrMap> @@ -20567,8 +20567,9 @@ Measured in GB</description> <uint8_t> </uint8_t> </simpleType> - <persistency>volatile-zeroed</persistency> + <persistency>non-volatile</persistency> <readable/> + <writeable/> <hwpfToHbAttrMap> <id>ATTR_I2C_BUS_DIV_NEST</id> <macro>DIRECT</macro> |