summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2019-03-01 16:38:48 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-03-04 13:28:37 -0600
commitd505fea7f1690043cd276cbb5dc1311d6cb40c34 (patch)
tree03835eb73392e704987a75b6c06da57d8258ab38 /src/usr
parent066af762a04754f68411bd5b642c49ed9574c4e4 (diff)
downloadtalos-hostboot-d505fea7f1690043cd276cbb5dc1311d6cb40c34.tar.gz
talos-hostboot-d505fea7f1690043cd276cbb5dc1311d6cb40c34.zip
Make overrideOnly fapi attributes volatile-zero
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>
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/targeting/xmltohb/fapi_utils.pl9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/usr/targeting/xmltohb/fapi_utils.pl b/src/usr/targeting/xmltohb/fapi_utils.pl
index 85bebcd2d..9253fa9eb 100644
--- a/src/usr/targeting/xmltohb/fapi_utils.pl
+++ b/src/usr/targeting/xmltohb/fapi_utils.pl
@@ -183,7 +183,14 @@ sub createAttrFromFapi(\%)
{
if( exists $fapiattr->{overrideOnly} )
{
- $targattr->{persistency} = "volatile";
+ if( exists $fapiattr->{default} )
+ {
+ $targattr->{persistency} = "volatile";
+ }
+ else
+ {
+ $targattr->{persistency} = "volatile-zeroed";
+ }
}
else
{
OpenPOWER on IntegriCloud