Skip to content

Commit

Permalink
Make overrideOnly fapi attributes volatile-zero
Browse files Browse the repository at this point in the history
Changing the volatility of platInit+overrideOnly ekb attributes
to be volatile-zero so that they don't take up any space in the
PNOR.  They will only be volatile (current setting) if they have
an explicit default value set.

Change-Id: Idff90d8d7062a360cc0ac1e0b365e3ea59d50d8f
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72736
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: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
dcrowell77 committed Mar 4, 2019
1 parent 066af76 commit d505fea
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/usr/targeting/xmltohb/fapi_utils.pl
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,14 @@ (\%)
{
if( exists $fapiattr->{overrideOnly} )
{
$targattr->{persistency} = "volatile";
if( exists $fapiattr->{default} )
{
$targattr->{persistency} = "volatile";
}
else
{
$targattr->{persistency} = "volatile-zeroed";
}
}
else
{
Expand Down

0 comments on commit d505fea

Please sign in to comment.