summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorMike Baiocchi <baiocchi@us.ibm.com>2014-05-07 14:27:56 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-08-13 14:38:39 -0500
commit2f89769eb7f06b4c13f0cd90d2df3d5139fd487b (patch)
treec1cd994d459bb798741ff91d79518ddbc812cd45 /src/include/usr
parentd6fcfc8472232a57b57e73ec3479fbee7f94837e (diff)
downloadtalos-hostboot-2f89769eb7f06b4c13f0cd90d2df3d5139fd487b.tar.gz
talos-hostboot-2f89769eb7f06b4c13f0cd90d2df3d5139fd487b.zip
Handle PNOR Errors
This code diagnoses additional PNOR errors and attempts to recover from them. It also contains improvements to FFDC. Change-Id: Ifb1e692a79a0d017e1c4807e0d0bcddbbcd04f6c Backport: release-fips820 RTC: 37744 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11253 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/pnor/pnor_reasoncodes.H18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/include/usr/pnor/pnor_reasoncodes.H b/src/include/usr/pnor/pnor_reasoncodes.H
index 1850bf8d5..52721f834 100644
--- a/src/include/usr/pnor/pnor_reasoncodes.H
+++ b/src/include/usr/pnor/pnor_reasoncodes.H
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2011,2014 */
+/* Contributors Listed Below - COPYRIGHT 2011,2014 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -50,8 +52,10 @@ namespace PNOR
MOD_PNORDD_WRITELPC = 0x19, /**< pnordd.C : PnorDD::writeLPC */
MOD_PNORDD_ERASEFLASH = 0x1A, /**< pnordd.C : PnorDD::eraseFlash */
MOD_PNORDD_MICRONFLAGSTATUS = 0x1B, /**< pnordd.C : PnorDD::micronFlagStatus */
- MOD_PNORDD_CHECKFORERRORS = 0x1D, /**< pnordd.C : PnorDD::checkForErrors */
-
+ MOD_PNORDD_CHECKFORSFCERRORS = 0x1D, /**< pnordd.C : PnorDD::checkForErrors */
+ MOD_PNORDD_CHECKFOROPBERRORS = 0x1E, /**< pnordd.C : PnorDD::checkForErrors */
+ MOD_PNORDD_HANDLEECCBERROR = 0x1F, /**< pnordd.C : PnorDD::handleEccbError */
+ MOD_PNORDD_RESETPNOR = 0x20, /**< pnordd.C : PnorDD::resetPnor */
};
enum PNORReasonCode
@@ -77,6 +81,14 @@ namespace PNOR
//termination_rc
RC_ECC_UE = PNOR_COMP_ID | 0x0F,
RC_ERROR_IN_STATUS_REG = PNOR_COMP_ID | 0x10,
+ //termination_rc
+ RC_REINITIALIZE_SFC = PNOR_COMP_ID | 0x11,
+ };
+
+ enum UserDetailsTypes
+ {
+ PNOR_UDT_NO_FORMAT = 0x0,
+ PNOR_UDT_PNORDD_PARAMETERS = 0x1,
};
};
OpenPOWER on IntegriCloud