summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/memory/lib/spd
diff options
context:
space:
mode:
authorAndre Marin <aamarin@us.ibm.com>2017-02-01 13:28:28 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-03-03 16:07:33 -0500
commit4aa5857f24f39cf7ec2905e6a9b0826c13cdc3c8 (patch)
treed5d404e971985770c21572081b1fe2163788f99f /src/import/chips/p9/procedures/hwp/memory/lib/spd
parentc6619cb79addf1225115ad3ff31b50a4c155f609 (diff)
downloadtalos-hostboot-4aa5857f24f39cf7ec2905e6a9b0826c13cdc3c8.tar.gz
talos-hostboot-4aa5857f24f39cf7ec2905e6a9b0826c13cdc3c8.zip
Cleaned up spd decoder interface, preparing for common code with Cumulus
Removes dependent target from the base decoder API to match RDIMM and LRDIMM decoder. This is in prepartion for using a common generic interface for both Nimbus and Cumulus. Change-Id: Ia5c59506739e63ebbe2968f6c81d7bc291bb42c0 Original-Change-Id: Ib41da0796d7cc97983bfa059dc7d033a0f1048df Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35749 Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: JACOB L. HARVEY <jlharvey@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/37415 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/spd')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/spd/spd_factory.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/spd/spd_factory.C b/src/import/chips/p9/procedures/hwp/memory/lib/spd/spd_factory.C
index 9741df37b..10dd37fbe 100644
--- a/src/import/chips/p9/procedures/hwp/memory/lib/spd/spd_factory.C
+++ b/src/import/chips/p9/procedures/hwp/memory/lib/spd/spd_factory.C
@@ -404,7 +404,7 @@ static fapi2::ReturnCode master_ranks_per_dimm_setter(const fapi2::Target<TARGET
uint8_t l_attrs_dimm_ranks_configed[PORTS_PER_MCS][MAX_DIMM_PER_PORT] = {};
// Get & update MCS attribute
- FAPI_TRY( i_pDecoder->num_package_ranks_per_dimm(i_target, l_decoder_val),
+ FAPI_TRY( i_pDecoder->num_package_ranks_per_dimm(l_decoder_val),
"%s. Failed num_package_ranks_per_dimm()", mss::c_str(i_target) );
FAPI_TRY(eff_num_master_ranks_per_dimm(l_mcs, &l_attrs_master_ranks_per_dimm[0][0]),
"%s. Failed eff_num_master_ranks_per_dimm()", mss::c_str(i_target) );
OpenPOWER on IntegriCloud