summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorNick Bofferding <bofferdn@us.ibm.com>2019-03-27 12:28:43 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-03-29 14:53:08 -0500
commit0d9e3f2cde9173ae224e726e340d42355d33dfb2 (patch)
tree994b925787e1371883ef58b5e3ec5158af77ed18 /src/include
parentf5ab52ab71170611fbf1bdc2afd6321b13d931ad (diff)
downloadtalos-hostboot-0d9e3f2cde9173ae224e726e340d42355d33dfb2.tar.gz
talos-hostboot-0d9e3f2cde9173ae224e726e340d42355d33dfb2.zip
Verify UCD update success at end of store to UCD flash
Implements manufacturer recommended verification procedure to determine if the UCD updates to data flash worked correctly. Verifies if the MFR_STATUS bit indicating flash update completed is set, then checks to see if the flash update error bit is confirmed not to be set. On any failure, calls out the UCD device as a predictive error. Change-Id: Ibe0e00029dbd41291f8651f083434ce059c2c37f RTC: 205979 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75099 Reviewed-by: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-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/include')
-rw-r--r--src/include/usr/ucd/ucd_reasoncodes.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/usr/ucd/ucd_reasoncodes.H b/src/include/usr/ucd/ucd_reasoncodes.H
index 9462da3bd..50b959902 100644
--- a/src/include/usr/ucd/ucd_reasoncodes.H
+++ b/src/include/usr/ucd/ucd_reasoncodes.H
@@ -35,6 +35,7 @@ namespace UCD_RC
MOD_UCD_INIT = 0x01,
MOD_UPDATE_ALL_UCD_FLASH_IMAGES = 0x02,
MOD_UPDATE_UCD_FLASH_IMAGE = 0x03,
+ MOD_VERIFY_UPDATE = 0x04,
};
enum UcdReasonCode
@@ -48,6 +49,8 @@ namespace UCD_RC
UCD_EOF = UCD_COMP_ID | 0x07,
UCD_UNSUPPORTED_OPERATION_REQUEST = UCD_COMP_ID | 0x08,
UCD_INVALID_COMMANDLINE = UCD_COMP_ID | 0x09,
+ UCD_ERROR_STORING_TO_FLASH = UCD_COMP_ID | 0x0A,
+ UCD_TIMEDOUT_STORING_TO_FLASH = UCD_COMP_ID | 0x0B,
};
}; // namespace UCD
OpenPOWER on IntegriCloud