From c646754e720b5cd21534425ca90bb414a4a3ff12 Mon Sep 17 00:00:00 2001 From: Dan Crowell Date: Tue, 14 Apr 2015 14:09:50 -0500 Subject: 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 Reviewed-by: Daniel M. Crowell Reviewed-by: A. Patrick Williams III Tested-by: Jenkins Server --- src/usr/hwpf/fapi/fapiParseErrorInfo.pl | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) (limited to 'src/usr/hwpf/fapi') 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"); -- cgit v1.2.1