summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common
diff options
context:
space:
mode:
authorCorey Swenson <cswenson@us.ibm.com>2014-09-08 15:56:45 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-10-17 14:12:26 -0500
commitc9cf241bc97ff6aba866d6acf167fd910a0f39c5 (patch)
tree37f0ddf358ee5cf5aff393ceee9d3aafb4887f72 /src/usr/targeting/common
parent1428a1fabd827dcc8b43fd0039bfc75d2712c190 (diff)
downloadtalos-hostboot-c9cf241bc97ff6aba866d6acf167fd910a0f39c5.tar.gz
talos-hostboot-c9cf241bc97ff6aba866d6acf167fd910a0f39c5.zip
BMC: VPD Caching in PNOR
For MVPD CVPD SPD, during presence detect VPD part number and serial number are compared between PNOR and SEEPROM. Mismatch triggers copy of VPD from SEEPROM to PNOR. Change-Id: Ia0a7b3fdf80bc15aee05c1303efa406fffa318ce RTC: 106885 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13233 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> 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_hb.xml27
-rw-r--r--src/usr/targeting/common/xmltohb/target_types_hb.xml7
2 files changed, 34 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types_hb.xml b/src/usr/targeting/common/xmltohb/attribute_types_hb.xml
index 235b19438..ab7df54d6 100644
--- a/src/usr/targeting/common/xmltohb/attribute_types_hb.xml
+++ b/src/usr/targeting/common/xmltohb/attribute_types_hb.xml
@@ -665,4 +665,31 @@ Final values for the following HTMG attributes will come from the MRW -->
</attribute>
<!-- end HTMGT attributes -->
+<attribute>
+ <id>VPD_SWITCHES</id>
+ <description>Attribute storing VPD state information</description>
+ <complexType>
+ <description>VPD flags</description>
+ <field>
+ <name>pnorLoaded</name>
+ <description>Set when this target's VPD data has been loaded
+ into the PNOR.
+ </description>
+ <type>uint8_t</type>
+ <bits>1</bits>
+ <default>0</default>
+ </field>
+ <field>
+ <name>reserved</name>
+ <description>Reserved for future expansion</description>
+ <type>uint8_t</type>
+ <bits>7</bits>
+ <default>0</default>
+ </field>
+ </complexType>
+ <persistency>volatile-zeroed</persistency>
+ <readable/>
+ <writeable/>
+</attribute>
+
</attributes>
diff --git a/src/usr/targeting/common/xmltohb/target_types_hb.xml b/src/usr/targeting/common/xmltohb/target_types_hb.xml
index 78f0504e2..fd662b5b6 100644
--- a/src/usr/targeting/common/xmltohb/target_types_hb.xml
+++ b/src/usr/targeting/common/xmltohb/target_types_hb.xml
@@ -86,6 +86,7 @@
<attribute>
<id>HOMER_VIRT_ADDR</id>
</attribute>
+ <attribute><id>VPD_SWITCHES</id></attribute>
</targetTypeExtension>
<targetTypeExtension>
@@ -135,6 +136,7 @@
<attribute>
<id>GPIO_INFO</id>
</attribute>
+ <attribute><id>VPD_SWITCHES</id></attribute>
</targetTypeExtension>
<targetTypeExtension>
@@ -144,4 +146,9 @@
</attribute>
</targetTypeExtension>
+<targetTypeExtension>
+ <id>lcard-dimm</id>
+ <attribute><id>VPD_SWITCHES</id></attribute>
+</targetTypeExtension>
+
</attributes>
OpenPOWER on IntegriCloud