summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/fapi
diff options
context:
space:
mode:
authorThi Tran <thi@us.ibm.com>2014-08-04 14:29:51 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-08-13 15:20:37 -0500
commit76fc214b0add778c2dc3d7866e5e627b9cddee46 (patch)
treeaadaa7cca0d76542224665df00a42ab21c5b82db /src/usr/hwpf/fapi
parent2f89769eb7f06b4c13f0cd90d2df3d5139fd487b (diff)
downloadtalos-hostboot-76fc214b0add778c2dc3d7866e5e627b9cddee46.tar.gz
talos-hostboot-76fc214b0add778c2dc3d7866e5e627b9cddee46.zip
SW261816: INITPROC: Add callouts for SBE errors - originally found in SW261688
CQ:SW261816 Change-Id: Ic534ffa59624223dc2f27f187758ad8077faaa43 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12459 Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Thi N. Tran <thi@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12615 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
Diffstat (limited to 'src/usr/hwpf/fapi')
-rwxr-xr-xsrc/usr/hwpf/fapi/fapiParseErrorInfo.pl15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/usr/hwpf/fapi/fapiParseErrorInfo.pl b/src/usr/hwpf/fapi/fapiParseErrorInfo.pl
index 6481b9ca9..b08bbeeb7 100755
--- a/src/usr/hwpf/fapi/fapiParseErrorInfo.pl
+++ b/src/usr/hwpf/fapi/fapiParseErrorInfo.pl
@@ -6,7 +6,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.
@@ -21,7 +23,7 @@
# permissions and limitations under the License.
#
# IBM_PROLOG_END_TAG
-# $Id: fapiParseErrorInfo.pl,v 1.29 2014/06/11 16:47:16 maploetz Exp $
+# $Id: fapiParseErrorInfo.pl,v 1.30 2014/07/25 00:36:41 jmcgill Exp $
# Purpose: This perl script will parse HWP Error XML files and create required
# FAPI code.
#
@@ -1205,15 +1207,6 @@ print SBFILE " default:\\\n";
print SBFILE " FAPI_SET_HWP_ERROR(RC, RC_SBE_UNKNOWN_ERROR);\\\n";
print SBFILE " break;\\\n";
print SBFILE "}\\\n";
-print SBFILE "const void * l_objects[] = {&CHIP_IN_ERROR};\\\n";
-print SBFILE "fapi::ReturnCode::ErrorInfoEntry l_entries[1];\\\n";
-print SBFILE "l_entries[0].iv_type = fapi::ReturnCode::EI_TYPE_CDG;\\\n";
-print SBFILE "l_entries[0].target_cdg.iv_targetObjIndex = 0;\\\n";
-print SBFILE "l_entries[0].target_cdg.iv_callout = 1;\\\n";
-print SBFILE "l_entries[0].target_cdg.iv_deconfigure = 1;\\\n";
-print SBFILE "l_entries[0].target_cdg.iv_gard = 1;\\\n";
-print SBFILE "l_entries[0].target_cdg.iv_calloutPriority = fapi::CalloutPriorities::HIGH;\\\n";
-print SBFILE "RC.addErrorInfo(l_objects, l_entries, 1);\\\n";
print SBFILE "}\n\n";
print SBFILE "#endif\n";
OpenPOWER on IntegriCloud