summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common
diff options
context:
space:
mode:
authorMatthew Raybuck <matthew.raybuck@ibm.com>2019-08-14 08:34:10 -0500
committerDaniel M Crowell <dcrowell@us.ibm.com>2019-08-19 13:07:40 -0500
commita2118008da065e69e8eab937bf725ea092e6f742 (patch)
tree4ab9016e23fc9483e6f59525ec9b31c715e20cfb /src/usr/targeting/common
parente28bd663f06590d1cea6e5cb8c53c1f47f1a7be8 (diff)
downloadtalos-hostboot-a2118008da065e69e8eab937bf725ea092e6f742.tar.gz
talos-hostboot-a2118008da065e69e8eab937bf725ea092e6f742.zip
Add attribute to force/skip BPM updates
Adds a new attribute ATTR_BPM_UPDATE_OVERRIDE to override the default update behavior. Updates can be forced, skipped, and the firmware and config portion of the updates can be individually forced or skipped. Change-Id: I1d50ab60d18a0511466f1551108755ef9f70cf35 RTC:212448 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/82263 Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common')
-rw-r--r--src/usr/targeting/common/xmltohb/attribute_types.xml56
-rw-r--r--src/usr/targeting/common/xmltohb/target_types.xml3
2 files changed, 59 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml
index b000c92d5..aae8b7e1f 100644
--- a/src/usr/targeting/common/xmltohb/attribute_types.xml
+++ b/src/usr/targeting/common/xmltohb/attribute_types.xml
@@ -187,6 +187,62 @@
</simpleType>
</attribute>
+ <enumerationType>
+ <default>DEFAULT_ALL</default>
+ <description>Enumeration for the various BPM update behaviors</description>
+ <enumerator>
+ <name>DEFAULT_ALL</name>
+ <value>0x0000</value>
+ </enumerator>
+ <enumerator>
+ <name>SKIP_ALL</name>
+ <value>0x1010</value>
+ </enumerator>
+ <enumerator>
+ <name>FORCE_ALL</name>
+ <value>0x1111</value>
+ </enumerator>
+ <enumerator>
+ <name>SKIP_FW</name>
+ <value>0x1000</value>
+ </enumerator>
+ <enumerator>
+ <name>FORCE_FW</name>
+ <value>0x1100</value>
+ </enumerator>
+ <enumerator>
+ <name>SKIP_CONFIG</name>
+ <value>0x0010</value>
+ </enumerator>
+ <enumerator>
+ <name>FORCE_CONFIG</name>
+ <value>0x0011</value>
+ </enumerator>
+ <enumerator>
+ <name>FORCE_CONFIG_SKIP_FW</name>
+ <value>0x1011</value>
+ </enumerator>
+ <enumerator>
+ <name>SKIP_CONFIG_FORCE_FW</name>
+ <value>0x1110</value>
+ </enumerator>
+ <id>BPM_UPDATE_BEHAVIOR</id>
+ </enumerationType>
+
+ <attribute>
+ <id>BPM_UPDATE_OVERRIDE</id>
+ <description>
+ If non-zero then use value to determine which portion of BPM updates to
+ skip/force/default behavior.
+ </description>
+ <simpleType>
+ <uint16_t/>
+ </simpleType>
+ <persistency>volatile-zeroed</persistency>
+ <readable/>
+ <no_export/>
+ </attribute>
+
<attribute>
<id>BRAZOS_RX_FIFO_OVERRIDE</id>
<description>
diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml
index 0e1ea2fdb..c5b466ebf 100644
--- a/src/usr/targeting/common/xmltohb/target_types.xml
+++ b/src/usr/targeting/common/xmltohb/target_types.xml
@@ -1799,6 +1799,9 @@
<id>BOOT_FREQ_MHZ</id>
</attribute>
<attribute>
+ <id>BPM_UPDATE_OVERRIDE</id>
+ </attribute>
+ <attribute>
<id>BRAZOS_RX_FIFO_OVERRIDE</id>
</attribute>
<attribute>
OpenPOWER on IntegriCloud