#define MAX_FID_REG_LEN 32
#define MAX_NUM_LOGDWORDS 12
#define FABERR_INDICATOR 0x15
-#define FWERR_INDICATOR 0x7
+#define SWDTERR_IND 0xdd
+#define MEMERR_IND 0xf501
+#define INSTERR_IND 0xf502
+#define ECCERR_IND 0xf504
#define FLAG_HILOW_MASK 8
#define FAB_ID_MASK 7
#define MAX_AGENT_IDX 15
return 0;
/* FW error if tenth DW reserved field is 111 */
- if (err_log_dw10.fields.reserved1 == FWERR_INDICATOR) {
+ if ((err_status_dw0.data == SWDTERR_IND) ||
+ (err_status_dw0.data == MEMERR_IND) ||
+ (err_status_dw0.data == INSTERR_IND) ||
+ (err_status_dw0.data == ECCERR_IND)) {
+
sprintf(output_buf, "SCU error summary:\n");
strcat(output_buf, "===================\n");
for (count = 0; count < MAX_NUM_LOGDWORDS; count++) {