summaryrefslogtreecommitdiffstats
path: root/src/include/usr/ucd
diff options
context:
space:
mode:
authorNick Bofferding <bofferdn@us.ibm.com>2019-03-13 15:22:30 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-03-20 09:44:13 -0500
commit810394f870786da606ef3179315e6cbdaa35627b (patch)
treef3727c8ea6bcbe91033e9f759dc44ce585a91ec1 /src/include/usr/ucd
parentaf6712fe5c035e7e61ea67a6f86f585b8ee1d51b (diff)
downloadtalos-hostboot-810394f870786da606ef3179315e6cbdaa35627b.tar.gz
talos-hostboot-810394f870786da606ef3179315e6cbdaa35627b.zip
UCD flash update invoker
Implements the main algorithm for finding applicable UCDs to perform flash update on and walking the UCD flash image table of contents to find the image associated with a UCD. Also adds a check to skip the update if simics is running. RTC: 201991 Change-Id: Ib35abec2f0a2ed22ae8d41a2acecd146f699bc43 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73484 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Matthew Raybuck <matthew.raybuck@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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/ucd')
-rw-r--r--src/include/usr/ucd/ucd_reasoncodes.H8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/usr/ucd/ucd_reasoncodes.H b/src/include/usr/ucd/ucd_reasoncodes.H
index bfa18397f..4e7cc9841 100644
--- a/src/include/usr/ucd/ucd_reasoncodes.H
+++ b/src/include/usr/ucd/ucd_reasoncodes.H
@@ -32,13 +32,19 @@ namespace UCD_RC
enum UcdModuleId
{
- MOD_UCD_INIT = 0x01,
+ MOD_UCD_INIT = 0x01,
+ MOD_UPDATE_ALL_UCD_FLASH_IMAGES = 0x02,
};
enum UcdReasonCode
{
RC_DEVICE_READ_UNEXPECTED_SIZE_DEVICE_ID = UCD_COMP_ID | 0x01,
RC_DEVICE_READ_UNEXPECTED_SIZE_MFR_REVISION = UCD_COMP_ID | 0x02,
+ UCD_INVALID_EYECATCHER = UCD_COMP_ID | 0x03,
+ UCD_INVALID_MAJOR_VER = UCD_COMP_ID | 0x04,
+ UCD_TOC_ENTRY_TOO_SMALL = UCD_COMP_ID | 0x05,
+ UCD_UNSUPPORTED_DEVICE_ID = UCD_COMP_ID | 0x06,
+ UCD_EOF = UCD_COMP_ID | 0x07,
};
}; // namespace UCD
OpenPOWER on IntegriCloud