summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/fapi
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2015-04-14 14:09:50 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-05-01 16:26:19 -0500
commitc646754e720b5cd21534425ca90bb414a4a3ff12 (patch)
tree25f3bb1076146a439bff7bfb69f336d7216f85e3 /src/usr/hwpf/fapi
parentb6e759cef2deed503122ae7d167596edb61f798e (diff)
downloadtalos-hostboot-c646754e720b5cd21534425ca90bb414a4a3ff12.tar.gz
talos-hostboot-c646754e720b5cd21534425ca90bb414a4a3ff12.zip
Add callout for PCI clocks for specific SBE errors
Updates to HWP to callout PCI clocks Changes to invoker logic to translate callout into a deconfig+gard Change-Id: Ifa4e7a46223348d0e29559c25ac814d4cb008e4b CQ: SW285387 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17100 Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> 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.pl24
1 files changed, 6 insertions, 18 deletions
diff --git a/src/usr/hwpf/fapi/fapiParseErrorInfo.pl b/src/usr/hwpf/fapi/fapiParseErrorInfo.pl
index 28d1716d1..3e32f51e8 100755
--- a/src/usr/hwpf/fapi/fapiParseErrorInfo.pl
+++ b/src/usr/hwpf/fapi/fapiParseErrorInfo.pl
@@ -562,24 +562,11 @@ foreach my $argnum (1 .. $#ARGV)
exit(1);
}
- # Check that those HW callouts that need reference targets have them
- if (($callout->{hw}->{hwid} eq "TOD_CLOCK") ||
- ($callout->{hw}->{hwid} eq "MEM_REF_CLOCK") ||
- ($callout->{hw}->{hwid} eq "PROC_REF_CLOCK") ||
- ($callout->{hw}->{hwid} eq "PCI_REF_CLOCK") ||
- ($callout->{hw}->{hwid} eq "FLASH_CONTROLLER_PART") ||
- ($callout->{hw}->{hwid} eq "PNOR_PART") ||
- ($callout->{hw}->{hwid} eq "SBE_SEEPROM_PART") ||
- ($callout->{hw}->{hwid} eq "VPD_PART") ||
- ($callout->{hw}->{hwid} eq "LPC_SLAVE_PART") ||
- ($callout->{hw}->{hwid} eq "GPIO_EXPANDER_PART") ||
- ($callout->{hw}->{hwid} eq "SPIVID_SLAVE_PART"))
+ # Check that there is a reference target
+ if (! exists $callout->{hw}->{refTarget})
{
- if (! exists $callout->{hw}->{refTarget})
- {
- print ("fapiParseErrorInfo.pl ERROR in $err->{rc}. Callout missing refTarget\n");
- exit(1);
- }
+ print ("fapiParseErrorInfo.pl ERROR in $err->{rc}. Callout missing refTarget\n");
+ exit(1);
}
# Add an EI entry to eiEntryStr
@@ -744,7 +731,8 @@ foreach my $argnum (1 .. $#ARGV)
$cdgChildHash{$parent}{$childType}{childNumber} = $childNum;
}
- }
+ }
+
if ($elementsFound == 0)
{
print ("fapiParseErrorInfo.pl ERROR in $err->{rc}. Deconfigure incomplete\n");
OpenPOWER on IntegriCloud