Skip to content

Commit

Permalink
PRD: Uncomment OMI bus callout and cleanup getSlaveRanks
Browse files Browse the repository at this point in the history
Change-Id: Ia5e6c86124b1a5ecece87eed43721fc38486ae88
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/82216
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Benjamen G Tyner <ben.tyner@ibm.com>
Reviewed-by: Zane C Shelley <zshelle@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/82566
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
  • Loading branch information
cnpalmer authored and zane131 committed Aug 21, 2019
1 parent 84e076b commit 285dc2b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
3 changes: 1 addition & 2 deletions src/usr/diag/prdf/common/plat/p9/prdfLaneRepair.C
Original file line number Diff line number Diff line change
Expand Up @@ -998,8 +998,7 @@ int32_t calloutBusInterface( ExtensibleChip * i_chip,
else if ( (TYPE_OMI == rxType && TYPE_OCMB_CHIP == txType) ||
(TYPE_OCMB_CHIP == rxType && TYPE_OMI == txType) )
{
//TODO RTC 199028
//hwasType = HWAS::OMI_BUS_TYPE;
hwasType = HWAS::OMI_BUS_TYPE;
}
else
{
Expand Down
25 changes: 7 additions & 18 deletions src/usr/diag/prdf/common/plat/prdfTargetServices.C
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,7 @@ void getMasterRanks<TYPE_OCMB_CHIP>( TargetHandle_t i_trgt,
//------------------------------------------------------------------------------

template<TARGETING::TYPE T>
void __getSlaveRanks( TargetHandle_t i_trgt, std::vector<MemRank> & o_ranks,
void getSlaveRanks( TargetHandle_t i_trgt, std::vector<MemRank> & o_ranks,
uint8_t i_ds )
{
PRDF_ASSERT( nullptr != i_trgt );
Expand Down Expand Up @@ -1738,29 +1738,18 @@ void __getSlaveRanks( TargetHandle_t i_trgt, std::vector<MemRank> & o_ranks,
}
}

template<>
template
void getSlaveRanks<TYPE_MCA>( TargetHandle_t i_trgt,
std::vector<MemRank> & o_ranks,
uint8_t i_ds )
{
__getSlaveRanks<TYPE_MCA>( i_trgt, o_ranks, i_ds );
}

template<>
uint8_t i_ds );
template
void getSlaveRanks<TYPE_MBA>( TargetHandle_t i_trgt,
std::vector<MemRank> & o_ranks,
uint8_t i_ds )
{
__getSlaveRanks<TYPE_MBA>( i_trgt, o_ranks, i_ds );
}

template<>
uint8_t i_ds );
template
void getSlaveRanks<TYPE_OCMB_CHIP>( TargetHandle_t i_trgt,
std::vector<MemRank> & o_ranks,
uint8_t i_ds )
{
__getSlaveRanks<TYPE_OCMB_CHIP>( i_trgt, o_ranks, i_ds );
}
uint8_t i_ds );

//------------------------------------------------------------------------------

Expand Down

0 comments on commit 285dc2b

Please sign in to comment.