summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common
diff options
context:
space:
mode:
authorAndrew Geissler <andrewg@us.ibm.com>2012-09-27 13:53:06 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-10-01 10:38:30 -0500
commitf440e24ddb3b50aae078f1d3b454591502abe2b5 (patch)
tree2f36562e4fff52e269fc5e78d61f247498a22456 /src/usr/targeting/common
parent5c6c304a4e1e8e4b04430b84aba2dd31c0e0f49c (diff)
downloadtalos-hostboot-f440e24ddb3b50aae078f1d3b454591502abe2b5.tar.gz
talos-hostboot-f440e24ddb3b50aae078f1d3b454591502abe2b5.zip
Add in new nominal frequency attribute.
The FSP code will calculate the nominal frequency for the system by parsing the module vpd #V data and will write this attribute. Hostboot can then use it as needed. Change-Id: Ie748d36b88f9d8b3ab2639742dbe471ed35a42b3 RTC:45236 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1906 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common')
-rw-r--r--src/usr/targeting/common/xmltohb/attribute_types.xml14
-rw-r--r--src/usr/targeting/common/xmltohb/target_types.xml2
2 files changed, 16 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml
index 9f2468f2d..26a3192cb 100644
--- a/src/usr/targeting/common/xmltohb/attribute_types.xml
+++ b/src/usr/targeting/common/xmltohb/attribute_types.xml
@@ -4592,4 +4592,18 @@ bits6:7 will be consumed together to form COARSE_LVL. </description>
</hwpfToHbAttrMap>
</attribute>
+<attribute>
+ <id>NOMINAL_FREQ_MHZ</id>
+ <description>Nominal frequency in mhz for all processors in the system based on module VPD processing.</description>
+ <simpleType>
+ <uint16_t>
+ <default>0</default>
+ </uint16_t>
+ </simpleType>
+ <!-- @TODO via RTC: 35451 - This really should be p1, not p3 -->
+ <persistency>non-volatile</persistency>
+ <readable/>
+ <writeable/>
+</attribute>
+
</attributes>
diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml
index 95dd09a47..04aae9fef 100644
--- a/src/usr/targeting/common/xmltohb/target_types.xml
+++ b/src/usr/targeting/common/xmltohb/target_types.xml
@@ -28,6 +28,7 @@
Contains the definition of the different types of targets
================================================================= -->
+
<targetType>
<id>base</id>
<attribute><id>CLASS</id></attribute>
@@ -107,6 +108,7 @@
<attribute><id>MSS_PREFETCH_ENABLE</id></attribute>
<attribute><id>MSS_CLEANER_ENABLE</id></attribute>
<attribute><id>MIRROR_BASE_ADDRESS</id></attribute>
+ <attribute><id>NOMINAL_FREQ_MHZ</id></attribute>
</targetType>
<targetType>
OpenPOWER on IntegriCloud