diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2017-10-11 14:26:37 -0500 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2017-11-02 12:32:19 -0400 |
commit | 17e278a6ec39c41ded824fa2747f9bef0ae77a31 (patch) | |
tree | 8cbfb10efd1c3e61e2bca5d220756dfa8bc4c1cc /src/build/buildpnor/PnorUtils.pm | |
parent | cfcd66d8907e798189e1dd8ff8c5f1fe7e518a68 (diff) | |
download | talos-hostboot-17e278a6ec39c41ded824fa2747f9bef0ae77a31.tar.gz talos-hostboot-17e278a6ec39c41ded824fa2747f9bef0ae77a31.zip |
PnorUtils.pm: Add volatile flag
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>
Diffstat (limited to 'src/build/buildpnor/PnorUtils.pm')
-rw-r--r-- | src/build/buildpnor/PnorUtils.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build/buildpnor/PnorUtils.pm b/src/build/buildpnor/PnorUtils.pm index d6c796882..80b97c762 100644 --- a/src/build/buildpnor/PnorUtils.pm +++ b/src/build/buildpnor/PnorUtils.pm @@ -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; @@ -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) |