From 17e278a6ec39c41ded824fa2747f9bef0ae77a31 Mon Sep 17 00:00:00 2001 From: Adriana Kobylak Date: Wed, 11 Oct 2017 14:26:37 -0500 Subject: 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 Reviewed-by: Christian R. Geddes Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: William G. Hoffa --- src/build/buildpnor/PnorUtils.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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) -- cgit v1.2.1