summaryrefslogtreecommitdiffstats
path: root/src/usr/errl
diff options
context:
space:
mode:
authorStephen Cprek <smcprek@us.ibm.com>2017-03-20 13:07:42 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2017-03-23 10:05:07 -0400
commitd87aceae2d5e5cb66201af5f897b06fa1471d90e (patch)
tree8ca50bf550c1b460d9dc686aed5839901ba5d3e8 /src/usr/errl
parent98de8e60e8395033bf1deed9ede0929ecb796841 (diff)
downloadtalos-hostboot-d87aceae2d5e5cb66201af5f897b06fa1471d90e.tar.gz
talos-hostboot-d87aceae2d5e5cb66201af5f897b06fa1471d90e.zip
Add PNOR SectionIdToString to replace direct access to cv_EYECATCHER
This catches if the const array size does not match the number of pnor sections and out of range index errors Also it adds genErrlParsing for bootloader files Change-Id: I0a90816a7620022dec16bc7358a68ffbdade0083 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38159 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/errl')
-rwxr-xr-xsrc/usr/errl/parser/genErrlParsers.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/usr/errl/parser/genErrlParsers.pl b/src/usr/errl/parser/genErrlParsers.pl
index c24df2f34..0316db383 100755
--- a/src/usr/errl/parser/genErrlParsers.pl
+++ b/src/usr/errl/parser/genErrlParsers.pl
@@ -76,6 +76,8 @@ while( $ARGV = shift )
my $compIdFile = $base."/src/include/usr/hbotcompid.H";
my $compPath = $base."/src/usr";
my $compIncPath = $base."/src/include/usr";
+my $compBlPath = $base."/src/bootloader";
+my $compBlIncPath = $base."/src/include/bootloader";
my $genFilesPath = $base."/obj/genfiles";
my $hbfwTermRcFile = $genFilesPath."/hbfw_term_rc.H";
my $srcFileName = $genFilesPath."/srcListing";
@@ -91,9 +93,12 @@ my @reasonCodeFiles;
my @filesToParse;
my @pluginDirsToParse;
getReasonCodeFiles($compIncPath);
+getReasonCodeFiles($compBlIncPath);
getFilesToParse($compPath);
getFilesToParse($compIncPath);
getFilesToParse($genFilesPath);
+getFilesToParse($compBlPath);
+getFilesToParse($compBlIncPath);
getPluginDirsToParse($compPath);
#Add kernel/lib files for TI SRC descriptions
OpenPOWER on IntegriCloud