summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2016-10-04 16:15:07 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-10-05 10:51:23 -0400
commit083d6c0b0a1517b0995134822202535ed71b60fd (patch)
tree03e4ced489bc35c7e3906c0d9c6e9604ab24e441
parentc03fb9a277dc8db57f0d3a2230d4a3b2b965b54d (diff)
downloadtalos-hostboot-083d6c0b0a1517b0995134822202535ed71b60fd.tar.gz
talos-hostboot-083d6c0b0a1517b0995134822202535ed71b60fd.zip
Add CLOCK_PLL_MUX, CLOCK_PLL_MUX0, and OBUS_RATIO_VALUE attrs to gen script
Update genHwsvMrwXml script to set default values for these attribute. Note that these are still not driven my MRW data, but there is a TODO set that up. Change-Id: I453bbefbc06facafba13d45009bbb0f74c02258e RTC: 161059 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30710 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
-rwxr-xr-xsrc/usr/targeting/common/genHwsvMrwXml.pl16
-rw-r--r--src/usr/targeting/common/xmltohb/attribute_types.xml3
2 files changed, 18 insertions, 1 deletions
diff --git a/src/usr/targeting/common/genHwsvMrwXml.pl b/src/usr/targeting/common/genHwsvMrwXml.pl
index e23585c5c..d25ae7c54 100755
--- a/src/usr/targeting/common/genHwsvMrwXml.pl
+++ b/src/usr/targeting/common/genHwsvMrwXml.pl
@@ -3994,6 +3994,22 @@ sub generate_proc
}
}
+ #TODO RTC:162090 Get real values from MRW when they are available
+ print " <attribute>\n";
+ print " <id>CLOCK_PLL_MUX</id>\n";
+ print " <default>0x8c010000</default>\n";
+ print " </attribute>\n";
+
+ print " <attribute>\n";
+ print " <id>CLOCK_PLL_MUX0</id>\n";
+ print " <default>0x03</default>\n";
+ print " </attribute>\n";
+
+ print " <attribute>\n";
+ print " <id>OBUS_RATIO_VALUE</id>\n";
+ print " <default>0x0</default>\n";
+ print " </attribute>\n";
+
print "</targetInstance>\n";
}
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml
index 4f8214822..209e5c66d 100644
--- a/src/usr/targeting/common/xmltohb/attribute_types.xml
+++ b/src/usr/targeting/common/xmltohb/attribute_types.xml
@@ -10365,9 +10365,10 @@ firmware notes: Used as override attribute for pstate procedure
</description>
<simpleType>
<uint8_t>
+ <default>0</default>
</uint8_t>
</simpleType>
- <persistency>volatile-zeroed</persistency>
+ <persistency>non-volatile</persistency>
<readable/>
<writeable/>
<hwpfToHbAttrMap>
OpenPOWER on IntegriCloud