summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2018-09-28 16:30:14 -0500
committerZane C. Shelley <zshelle@us.ibm.com>2018-10-08 20:18:43 -0500
commit965a9eaad536ae516ea035e4a6e28eb6a6289816 (patch)
tree71f75264a1bf04872ef1a2c5b1ecb35f75a5dd29 /src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C
parentafa0689dd90b5bb445cbd2d8043e8983495d3399 (diff)
downloadtalos-hostboot-965a9eaad536ae516ea035e4a6e28eb6a6289816.tar.gz
talos-hostboot-965a9eaad536ae516ea035e4a6e28eb6a6289816.zip
PRD: ATTR_EFF_DRAM_ROWS and ATTR_EFF_DRAM_COLS not used on Nimbus
Change-Id: Ie7f841a29a27144a12f3143f5dfba3c75d59ea9f RTC: 199845 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66824 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66825 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>
Diffstat (limited to 'src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C')
-rw-r--r--src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C b/src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C
index 0e67c0df9..9da77694a 100644
--- a/src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C
+++ b/src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C
@@ -503,18 +503,12 @@ int32_t __getPortAddr<TYPE_MBA>( ExtensibleChip * i_chip, MemAddr i_addr,
uint64_t mrnkBits = ranks2bits( num_mrnk );
uint64_t srnkBits = ranks2bits( num_srnk );
+ // Get the number of configured address bits for the row and column.
+ uint8_t rowBits = getRowNumConfig<TYPE_MBA>( mba );
+ uint8_t colBits = getColNumConfig<TYPE_MBA>( mba );
+
do
{
- // Get the number of configured address bits for the row and column.
- uint8_t rowBits, colBits;
- o_rc = getDimmRowCol( mba, rowBits, colBits );
- if ( SUCCESS != o_rc )
- {
- PRDF_ERR( PRDF_FUNC "getDimmConfig() failed. HUID:0x%08X",
- i_chip->GetId());
- break;
- }
-
// The attribute used in getDimmRowCol() returns a value for colBits
// which includes c2-c0. Those bits are tied to zero and are not
// included in col. Therefore, we need to subtract 3 to get the real
OpenPOWER on IntegriCloud