diff options
author | Bill Hoffa <wghoffa@us.ibm.com> | 2017-06-16 17:11:20 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-09-18 15:50:35 -0400 |
commit | 54a3bfc6323e7231580da74bcd965988d3e780af (patch) | |
tree | 78b037f38f1400ce71187a7e0bf3184bb61da9bc /src/include | |
parent | 9511dde54f55257edd1c47ff709742638c21fbe8 (diff) | |
download | talos-hostboot-54a3bfc6323e7231580da74bcd965988d3e780af.tar.gz talos-hostboot-54a3bfc6323e7231580da74bcd965988d3e780af.zip |
Add support for LPC error detection and recovery
Change-Id: Iea9bd4425aeb798acd85484402c627fb623cae94
Also-By: Matt Ploetz <maploetz@us.ibm.com>
RTC: 133649
RTC: 134582
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45397
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/usr/lpc/lpc_const.H | 1 | ||||
-rw-r--r-- | src/include/usr/lpc/lpc_reasoncodes.H | 5 | ||||
-rw-r--r-- | src/include/usr/lpc/lpcif.H | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/include/usr/lpc/lpc_const.H b/src/include/usr/lpc/lpc_const.H index 897a2df71..f686dcebf 100644 --- a/src/include/usr/lpc/lpc_const.H +++ b/src/include/usr/lpc/lpc_const.H @@ -39,6 +39,7 @@ namespace LPC LPCHC_MEM_SPACE = 0xE0000000, /**< LPC Host Controller Mem Space */ LPCHC_IO_SPACE = 0xD0010000, /**< LPC Host Controller I/O Space */ LPCHC_REG_SPACE = 0xC0012000, /**< LPC Host Ctlr Register Space */ + LPCHC_ERR_SPACE = 0xC0010000, /**< LPC Host Ctlr Err Register Space */ /** Physical addr of the start of LPC address space*/ LPC_PHYS_BASE = 0x6030000000000, diff --git a/src/include/usr/lpc/lpc_reasoncodes.H b/src/include/usr/lpc/lpc_reasoncodes.H index 11622becf..d5c15628a 100644 --- a/src/include/usr/lpc/lpc_reasoncodes.H +++ b/src/include/usr/lpc/lpc_reasoncodes.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014 */ +/* Contributors Listed Below - COPYRIGHT 2014,2017 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -36,7 +36,7 @@ namespace LPC MOD_LPCDD_CHECKADDR = 0x01, MOD_LPCDD_READLPC = 0x02, MOD_LPCDD_WRITELPC = 0x03, - MOD_LPCDD_CHECKFOROPBERRORS = 0x04, + MOD_LPCDD_CHECKFORLPCERRORS = 0x04, MOD_LPCDD_HWRESET = 0x05, MOD_CREATE_ALTMASTER = 0x06, MOD_READLPC = 0x07, @@ -54,6 +54,7 @@ namespace LPC RC_CANT_USE_MASTER = LPC_COMP_ID | 0x07, RC_CANT_USE_SENTINEL = LPC_COMP_ID | 0x08, RC_BAD_TARGET = LPC_COMP_ID | 0x09, + RC_LPCHC_ERROR = LPC_COMP_ID | 0x0A, }; }; diff --git a/src/include/usr/lpc/lpcif.H b/src/include/usr/lpc/lpcif.H index db6ea9a32..336237bb6 100644 --- a/src/include/usr/lpc/lpcif.H +++ b/src/include/usr/lpc/lpcif.H @@ -41,7 +41,8 @@ enum TransType { TRANS_FW, // LPC Firmware Space TRANS_REG, // LPCHC Register space TRANS_ABS, // Address parm is absolute - TRANS_LAST //Invalid, used for looping and tests + TRANS_ERR, // LPC Register Error Space + TRANS_LAST // Invalid, used for looping and tests }; /** |