From 0d9e3f2cde9173ae224e726e340d42355d33dfb2 Mon Sep 17 00:00:00 2001 From: Nick Bofferding Date: Wed, 27 Mar 2019 12:28:43 -0500 Subject: 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 Reviewed-by: Michael Baiocchi Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/include/usr/ucd/ucd_reasoncodes.H | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/include/usr/ucd/ucd_reasoncodes.H') 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 -- cgit v1.2.1