summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/memory/p9_mss_freq.C
diff options
context:
space:
mode:
authorAndre Marin <aamarin@us.ibm.com>2016-07-22 16:41:44 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-08-06 23:08:45 -0400
commitde883b764f70d0f8ea4ba89243daf0dcb20d8c83 (patch)
tree13c1bd9cbdc4cc796b04b5c87cd790818727ff46 /src/import/chips/p9/procedures/hwp/memory/p9_mss_freq.C
parent3b3a4658df40f12cd2f1715afd5803ea319f8b49 (diff)
downloadtalos-hostboot-de883b764f70d0f8ea4ba89243daf0dcb20d8c83.tar.gz
talos-hostboot-de883b764f70d0f8ea4ba89243daf0dcb20d8c83.zip
Fix tREFI bug for eff_config, add and fix existing unit tests
Change-Id: I839315f414525102c4b7af7f3c57b2d6861199d7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27413 Reviewed-by: JACOB L. HARVEY <jlharvey@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27414 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/p9_mss_freq.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/p9_mss_freq.C4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/p9_mss_freq.C b/src/import/chips/p9/procedures/hwp/memory/p9_mss_freq.C
index 8c05b2c3a..3bd5288fc 100644
--- a/src/import/chips/p9/procedures/hwp/memory/p9_mss_freq.C
+++ b/src/import/chips/p9/procedures/hwp/memory/p9_mss_freq.C
@@ -111,7 +111,9 @@ extern "C"
l_tCKmin);
// Find dimm transfer speed from selected tCK
- l_min_dimm_freq = mss::ps_to_freq(l_tCKmin);
+ FAPI_TRY( mss::ps_to_freq(l_tCKmin, l_min_dimm_freq),
+ "Failed ps_to_freq()");
+
FAPI_INF("DIMM speed from selected tCK: %d", l_min_dimm_freq);
FAPI_TRY(mss::select_supported_freq(l_min_dimm_freq),
OpenPOWER on IntegriCloud