diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2019-07-03 08:28:24 -0500 |
---|---|---|
committer | Daniel M Crowell <dcrowell@us.ibm.com> | 2019-07-16 10:29:35 -0500 |
commit | d0e2fddc76ff2b6e80870fc233e4ce679a90db3b (patch) | |
tree | cfc20f21a3b3834cc4b300638d344c241d400bd6 /src/usr/targeting | |
parent | a22884e079eb16b2aaac1ae06c7a5963943ee2eb (diff) | |
download | talos-hostboot-d0e2fddc76ff2b6e80870fc233e4ce679a90db3b.tar.gz talos-hostboot-d0e2fddc76ff2b6e80870fc233e4ce679a90db3b.zip |
Add option to factory reset nvdimms
Added a factory reset function along with a overridable attribute
(ATTR_FORCE_NVDIMM_RESET) to trigger the reset during boot.
Change-Id: Ib39675e53d693ede897ace0f4432e104dcf8062e
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80293
Tested-by: Jenkins Server <pfd-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>
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')
-rw-r--r-- | src/usr/targeting/common/xmltohb/attribute_types.xml | 15 | ||||
-rw-r--r-- | src/usr/targeting/common/xmltohb/target_types.xml | 3 |
2 files changed, 18 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml index ff9abf83b..b000c92d5 100644 --- a/src/usr/targeting/common/xmltohb/attribute_types.xml +++ b/src/usr/targeting/common/xmltohb/attribute_types.xml @@ -1734,6 +1734,21 @@ </attribute> <attribute> + <description> + Lab-only trigger to force a factory reset of the NVDIMMs. + NOTE: This will erase any saved image and encryption keys. + </description> + <id>FORCE_NVDIMM_RESET</id> + <persistency>volatile-zeroed</persistency> + <readable/> + <simpleType> + <uint8_t> + <default>0</default> + </uint8_t> + </simpleType> + </attribute> + + <attribute> <id>FREQ_CORE_CEILING_MHZ</id> <description> The maximum core frequency in MHz. diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml index ef5fbc8d6..083819728 100644 --- a/src/usr/targeting/common/xmltohb/target_types.xml +++ b/src/usr/targeting/common/xmltohb/target_types.xml @@ -1848,6 +1848,9 @@ <id>FIELD_TH_P8EX_L3_LINE_DELETES</id> </attribute> <attribute> + <id>FORCE_NVDIMM_RESET</id> + </attribute> + <attribute> <id>FREQ_CORE_CEILING_MHZ</id> </attribute> <attribute> |