summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C
diff options
context:
space:
mode:
authorLouis Stermole <stermole@us.ibm.com>2016-09-08 06:57:10 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2016-09-20 12:31:14 -0400
commitfdc14c69e7367e34b00df532de7094586f5935f6 (patch)
tree656f4897ddb705143446f617689ff2aecfda7b05 /src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C
parent50c1a970cfdc69dd6dc77c1b1c50d44190b8e55d (diff)
downloadtalos-hostboot-fdc14c69e7367e34b00df532de7094586f5935f6.tar.gz
talos-hostboot-fdc14c69e7367e34b00df532de7094586f5935f6.zip
Add register API for PHY Rank Pair registers
Fix access_delay_regs ut by choosing rank based on given rank pair Put rank functions into a rank namespace Change-Id: I57e0dc54e78c7b72df346fb902d5188330503919 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29372 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: JACOB L. HARVEY <jlharvey@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29374 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C b/src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C
index 83dd37ad9..1ee2353bb 100644
--- a/src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C
+++ b/src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C
@@ -163,7 +163,7 @@ fapi2::ReturnCode enable_periodic_cal( const fapi2::Target<fapi2::TARGET_TYPE_MC
//
// Setup PER_ZCAL_CONFIG based on the number of ranks on the DIMM in either slot.
- FAPI_TRY( mss::ranks(i_target, l_ranks) );
+ FAPI_TRY( mss::rank::ranks(i_target, l_ranks) );
for (auto r : l_ranks)
{
@@ -209,7 +209,7 @@ fapi2::ReturnCode enable_periodic_cal( const fapi2::Target<fapi2::TARGET_TYPE_MC
// need to do it twice for the PHY? BRS
fapi2::buffer<uint64_t> l_rank_config;
- FAPI_TRY( mss::get_rank_pairs(i_target, l_pairs) );
+ FAPI_TRY( mss::rank::get_rank_pairs(i_target, l_pairs) );
for (auto pair : l_pairs)
{
OpenPOWER on IntegriCloud