diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2019-10-10 14:56:48 -0500 |
---|---|---|
committer | William G Hoffa <wghoffa@us.ibm.com> | 2019-10-21 07:55:36 -0500 |
commit | a0207ea107c872b19372646070d8556f985d6861 (patch) | |
tree | a70fbd5b51e56508138e9fbf57610cbaed1bbb2a /src/usr/targeting/common/xmltohb/attribute_types.xml | |
parent | 9546b72bc443ccf6b7cedb717759a583bacb9d30 (diff) | |
download | talos-hostboot-a0207ea107c872b19372646070d8556f985d6861.tar.gz talos-hostboot-a0207ea107c872b19372646070d8556f985d6861.zip |
Add attribute to explicitly force OCMB Firmware update behavior
Allow us to override the default behavior (update when versions
don't match) via an attribute. The options will be:
- Update if versions do not match
- Never update
- Always update
- Do the version check but don't actually update the code
Change-Id: I5fdaa3cd2adf4cfb96f7ad7568de5d2c083d276c
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/85180
Reviewed-by: Glenn Miles <milesg@ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@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>
Reviewed-by: William G Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common/xmltohb/attribute_types.xml')
-rw-r--r-- | src/usr/targeting/common/xmltohb/attribute_types.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml index 9b4d6764e..72842c83d 100644 --- a/src/usr/targeting/common/xmltohb/attribute_types.xml +++ b/src/usr/targeting/common/xmltohb/attribute_types.xml @@ -5446,6 +5446,48 @@ <no_export/> </attribute> + <enumerationType> + <default>DEFAULT_ALL</default> + <description>Enumeration for the various OCMB Firmware update behaviors</description> + <enumerator> + <!-- Compare actual and desired versions, update if they do not match --> + <name>CHECK_VERSIONS</name> + <value>0</value> + </enumerator> + <enumerator> + <!-- Force an update regardless of the current version in the hardware --> + <name>FORCE_UPDATE</name> + <value>1</value> + </enumerator> + <enumerator> + <!-- Do not update the firwmare, do not even check the versions --> + <name>PREVENT_UPDATE</name> + <value>2</value> + </enumerator> + <enumerator> + <!-- Compare actual and desired versions, but do not do any updates --> + <name>CHECK_BUT_NO_UPDATE</name> + <value>3</value> + </enumerator> + <id>OCMB_FW_UPDATE_BEHAVIOR</id> + </enumerationType> + + <attribute> + <description> + Force specific behavior for the OCMB Firmware update function. + </description> + <id>OCMB_FW_UPDATE_OVERRIDE</id> + <!-- @fixme-RTC:244420-Should be volatile-zero --> + <persistency>volatile</persistency> + <readable/> + <simpleType> + <uint8_t> + <!-- Cannot use enumeration directly due to override issue --> + <default>2</default> + </uint8_t> + </simpleType> + </attribute> + <attribute> <description> Physical entity path an OMI's associated OMIC parent target |