Skip to content

Commit

Permalink
PnorUtils.pm: Add volatile flag
Browse files Browse the repository at this point in the history
The volatile flag was recently added but it was not being
parsed so it wasn't been added to the pnor image.

Change-Id: I70ced6ab5b433bfa7855863a3b5fe5f9e0813b6b
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48256
Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
  • Loading branch information
anoo1 authored and wghoffa committed Nov 2, 2017
1 parent cfcd66d commit 17e278a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/build/buildpnor/PnorUtils.pm
Expand Up @@ -158,6 +158,7 @@ sub loadPnorLayout
my $reprovision = (exists $sectionEl->{reprovision} ? "yes" : "no");
my $clearOnEccErr = (exists $sectionEl->{clearOnEccErr} ? "yes" : "no");
my $readOnly = (exists $sectionEl->{readOnly} ? "yes" : "no");
my $volatile = (exists $sectionEl->{volatile} ? "yes" : "no");
if (($i_testRun == 0) && ($sectionEl->{testonly}[0] eq "yes"))
{
next;
Expand Down Expand Up @@ -185,6 +186,7 @@ sub loadPnorLayout
$$i_pnorLayoutRef{sections}{$physicalOffset}{reprovision} = $reprovision;
$$i_pnorLayoutRef{sections}{$physicalOffset}{clearOnEccErr} = $clearOnEccErr;
$$i_pnorLayoutRef{sections}{$physicalOffset}{readOnly} = $readOnly;
$$i_pnorLayoutRef{sections}{$physicalOffset}{volatile} = $volatile;

#store the physical offsets of each section in a hash, so, it is easy
#to search physicalOffsets based on the name of the section (eyecatch)
Expand Down

0 comments on commit 17e278a

Please sign in to comment.