summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2016-09-29 12:46:13 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-10-01 21:32:55 -0400
commit176ae83cd7b68c4798ea107cbda26a0b67cfcb6d (patch)
treed020fa4bfc5e9f65a8426607cbf9717d3a63f7d0
parent26ee3a491de3ae1d1c543931fa0d1b73dccd0f49 (diff)
downloadblackbird-hostboot-176ae83cd7b68c4798ea107cbda26a0b67cfcb6d.tar.gz
blackbird-hostboot-176ae83cd7b68c4798ea107cbda26a0b67cfcb6d.zip
Update genHwsvMrw.xml for freq_attributes.xml default values
This commit adds attributes to the genHwsvMrw script so that default values will be generated when we generate mrw xml RTC:161066 Change-Id: I153d6b32606bd774680d98771454068213b8a318 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30492 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
-rwxr-xr-xsrc/usr/targeting/common/genHwsvMrwXml.pl14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/usr/targeting/common/genHwsvMrwXml.pl b/src/usr/targeting/common/genHwsvMrwXml.pl
index 589447457..1188809c4 100755
--- a/src/usr/targeting/common/genHwsvMrwXml.pl
+++ b/src/usr/targeting/common/genHwsvMrwXml.pl
@@ -321,8 +321,22 @@ push @systemAttr,
$reqPol->{'mnfg_th_cen_mba_rt_rce_per_rank'},
"MNFG_TH_CEN_L4_CACHE_CES", $reqPol->{'mnfg_th_cen_l4_cache_ces'},
"BRAZOS_RX_FIFO_OVERRIDE", $reqPol->{'rx_fifo_final_l2u_dly_override'},
+ "MAX_ALLOWED_DIMM_FREQ", $reqPol->{'max_allowed_dimm_freq'},
];
+if ($reqPol->{'required_synch_mode'} eq 'never')
+{
+ push @systemAttr, ['REQUIRED_SYNCH_MODE', 2];
+}
+elsif ($reqPol->{'required_synch_mode'} eq 'always')
+{
+ push @systemAttr, ['REQUIRED_SYNCH_MODE', 1];
+}
+elsif ($reqPol->{'required_synch_mode'} eq 'undetermined')
+{
+ push @systemAttr, ['REQUIRED_SYNCH_MODE', 0];
+}
+
# Note - if below attribute is specified with im-id, it will not get
# set into the output
OpenPOWER on IntegriCloud