summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/plat/pegasus/prdfCenDqBitmap.C
diff options
context:
space:
mode:
authorBilicon Patil <bilpatil@in.ibm.com>2014-03-28 11:01:18 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-05-08 14:38:54 -0500
commit34e3f40d66d04197875ca282e216f248cd607be7 (patch)
tree55798dfe57cc6a74c35c970daab809ef571eab70 /src/usr/diag/prdf/common/plat/pegasus/prdfCenDqBitmap.C
parent5257e66e8bba33b3f408d922606ef6bd78e6dd6e (diff)
downloadtalos-hostboot-34e3f40d66d04197875ca282e216f248cd607be7.tar.gz
talos-hostboot-34e3f40d66d04197875ca282e216f248cd607be7.zip
PRD: Common util file for plugin and functional code
Change-Id: I00d7d886250544c2bd63eae0f9dbe14b5810a5fc RTC: 99972 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9990 Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Tested-by: Jenkins Server Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/10968 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/common/plat/pegasus/prdfCenDqBitmap.C')
-rw-r--r--src/usr/diag/prdf/common/plat/pegasus/prdfCenDqBitmap.C14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCenDqBitmap.C b/src/usr/diag/prdf/common/plat/pegasus/prdfCenDqBitmap.C
index 1cde6b81d..95267c788 100644
--- a/src/usr/diag/prdf/common/plat/pegasus/prdfCenDqBitmap.C
+++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCenDqBitmap.C
@@ -27,11 +27,13 @@
#include <UtilHash.H>
#include <iipServiceDataCollector.h>
+#include <prdfParserUtils.H>
namespace PRDF
{
using namespace PlatServices;
+using namespace PARSERUTILS;
using namespace fapi; // for spare dram config
bool CenDqBitmap::badDqs() const
@@ -133,8 +135,8 @@ int32_t CenDqBitmap::setSymbol( uint8_t i_symbol, uint8_t i_pins )
do
{
- uint8_t evenDq = CenSymbol::symbol2CenDq( i_symbol );
- uint8_t portSlct = CenSymbol::symbol2PortSlct( i_symbol );
+ uint8_t evenDq = symbol2CenDq( i_symbol );
+ uint8_t portSlct = symbol2PortSlct( i_symbol );
if ( DQS_PER_DIMM <= evenDq || PORT_SLCT_PER_MBA <= portSlct )
{
PRDF_ERR( PRDF_FUNC"Invalid parameter: i_symbol=%d", i_symbol );
@@ -165,8 +167,8 @@ int32_t CenDqBitmap::setDram( uint8_t i_symbol, uint8_t i_pins )
do
{
- uint8_t evenDq = CenSymbol::symbol2CenDq( i_symbol );
- uint8_t portSlct = CenSymbol::symbol2PortSlct( i_symbol );
+ uint8_t evenDq = symbol2CenDq( i_symbol );
+ uint8_t portSlct = symbol2PortSlct( i_symbol );
if ( DQS_PER_DIMM <= evenDq || PORT_SLCT_PER_MBA <= portSlct )
{
PRDF_ERR( PRDF_FUNC"Invalid parameter: i_symbol=%d", i_symbol );
@@ -206,8 +208,8 @@ int32_t CenDqBitmap::isChipMark( uint8_t i_symbol, bool & o_cm )
do
{
- uint8_t evenDq = CenSymbol::symbol2CenDq( i_symbol );
- uint8_t portSlct = CenSymbol::symbol2PortSlct( i_symbol );
+ uint8_t evenDq = symbol2CenDq( i_symbol );
+ uint8_t portSlct = symbol2PortSlct( i_symbol );
if ( DQS_PER_DIMM <= evenDq || PORT_SLCT_PER_MBA <= portSlct )
{
PRDF_ERR( PRDF_FUNC"Invalid parameter: i_symbol=%d", i_symbol );
OpenPOWER on IntegriCloud