summaryrefslogtreecommitdiffstats
path: root/src/include/usr/lpc
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/lpc')
-rw-r--r--src/include/usr/lpc/lpc_const.H1
-rw-r--r--src/include/usr/lpc/lpc_reasoncodes.H5
-rw-r--r--src/include/usr/lpc/lpcif.H3
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
};
/**
OpenPOWER on IntegriCloud