diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2013-11-13 09:32:01 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-12-12 16:27:50 -0600 |
commit | 948809ead9262fe86e78e303f3e5d1a19388f7ee (patch) | |
tree | f96f47384b95e865c9a324747f687f7cc0ca8d59 /src/include/usr/ibscom | |
parent | 07c9716fcf31ce5352ce412a643071ea89bd2ca1 (diff) | |
download | talos-hostboot-948809ead9262fe86e78e303f3e5d1a19388f7ee.tar.gz talos-hostboot-948809ead9262fe86e78e303f3e5d1a19388f7ee.zip |
IBSCOM Enablement and Error Handling
Enable IBSCOM for Centaur DD2.x chips
Add appropriate error handling
Flip scom to FSI after IBSCOM fail
Enable reconfig loop cleanup
Code verified on hardware
Change-Id: I394789b900e5779dded78dd5fbcc9b9257e856fb
RTC: 69115
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7410
Tested-by: Jenkins Server
Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com>
Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/ibscom')
-rw-r--r-- | src/include/usr/ibscom/ibscomif.H | 45 | ||||
-rw-r--r-- | src/include/usr/ibscom/ibscomreasoncodes.H | 2 |
2 files changed, 47 insertions, 0 deletions
diff --git a/src/include/usr/ibscom/ibscomif.H b/src/include/usr/ibscom/ibscomif.H new file mode 100644 index 000000000..65304acc6 --- /dev/null +++ b/src/include/usr/ibscom/ibscomif.H @@ -0,0 +1,45 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/include/usr/ibscom/ibscomif.H $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2013 */ +/* */ +/* p1 */ +/* */ +/* Object Code Only (OCO) source materials */ +/* Licensed Internal Code Source Materials */ +/* IBM HostBoot Licensed Internal Code */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* Origin: 30 */ +/* */ +/* IBM_PROLOG_END_TAG */ +#ifndef __IBSCOM_IBSCOMIF_H +#define __IBSCOM_IBSCOMIF_H + +#include <stdint.h> +#include <builtins.h> +#include <errl/errlentry.H> + +namespace IBSCOM +{ + +#define IBSCOM_DISABLE true +#define IBSCOM_ENABLE false + +/** + * @brief Enable or disable Inband SCOMs on all capable chips + * + * @param i_disable true: disable inband scoms + */ +void enableInbandScoms( bool i_disable = IBSCOM_ENABLE ); + +} + +#endif diff --git a/src/include/usr/ibscom/ibscomreasoncodes.H b/src/include/usr/ibscom/ibscomreasoncodes.H index 2990cc56b..39927db41 100644 --- a/src/include/usr/ibscom/ibscomreasoncodes.H +++ b/src/include/usr/ibscom/ibscomreasoncodes.H @@ -46,6 +46,8 @@ namespace IBSCOM IBSCOM_BUS_FAILURE = IBSCOM_COMP_ID | 0x06, IBSCOM_INVALID_ADDRESS = IBSCOM_COMP_ID | 0x07, IBSCOM_PIB_FAILURE = IBSCOM_COMP_ID | 0x08, + IBSCOM_WRONG_ERROR = IBSCOM_COMP_ID | 0x09, + IBSCOM_RETRY_DUE_TO_ERROR = IBSCOM_COMP_ID | 0x0A, }; }; |