diff options
author | Richard J. Knight <rjknight@us.ibm.com> | 2015-05-21 15:22:21 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-07-02 12:53:59 -0500 |
commit | c71dfd1b9bcfcc6045a1ccf74d3880a490a429ed (patch) | |
tree | bed3da3e36f3cb5a1763b9c460bac87095b33d2b /src/usr | |
parent | c622ec4329edb2feaa1e36d91fcfa3989a7bfda3 (diff) | |
download | talos-hostboot-c71dfd1b9bcfcc6045a1ccf74d3880a490a429ed.tar.gz talos-hostboot-c71dfd1b9bcfcc6045a1ccf74d3880a490a429ed.zip |
Brazos:Server fails to IPL with 3 of 4 PCI Clock lines on LCC-B bugged
-Fix fapiParseErrorInfo.pl to support the new position info related
to PCI clock callouts.
Change-Id: Ice867283478fb08f7b54f936f308c85cab904f8b
CQ:SW308542
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17953
Tested-by: Jenkins Server
Tested-by: Jenkins OP Build CI
Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com>
Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr')
-rwxr-xr-x | src/usr/hwpf/fapi/fapiParseErrorInfo.pl | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/usr/hwpf/fapi/fapiParseErrorInfo.pl b/src/usr/hwpf/fapi/fapiParseErrorInfo.pl index d3d12adf7..36df57d6f 100755 --- a/src/usr/hwpf/fapi/fapiParseErrorInfo.pl +++ b/src/usr/hwpf/fapi/fapiParseErrorInfo.pl @@ -24,7 +24,7 @@ # # IBM_PROLOG_END_TAG -# $Id: fapiParseErrorInfo.pl,v 1.33 2015/04/15 18:43:54 dcrowell Exp $ +# $Id: fapiParseErrorInfo.pl,v 1.34 2015/05/27 17:10:16 rjknight Exp $ # Purpose: This perl script will parse HWP Error XML files and create required # FAPI code. # @@ -72,6 +72,8 @@ # mjjones 03/26/14 Generate HWP error on unknown SBE error # maploetz 06/11/14 Callout deconfig/gard target on all SBE # errors +# rjknight 05/27/15 Include hwInstance parsing for PCI clock +# callouts # # End Change Log ***************************************************** # @@ -583,6 +585,18 @@ foreach my $argnum (1 .. $#ARGV) { $eiEntryStr .= " l_entries[$eiEntryCount].hw_callout.iv_refObjIndex = 0xff; \\\n"; } + + if (exists $callout->{hw}->{hwInstance}) + { + # Add the Targets to the objectlist if they don't already exist + my $objNum = addEntryToArray(\@eiObjects, $callout->{hw}->{hwInstance}); + $eiEntryStr .= " l_entries[$eiEntryCount].hw_callout.iv_objPosIndex = $objNum; \\\n"; + } + else + { + $eiEntryStr .= " l_entries[$eiEntryCount].hw_callout.iv_objPosIndex = 0xff; \\\n" + } + $eiEntryCount++; $elementsFound++; } |