diff options
Diffstat (limited to 'src/usr/diag/prdf/plat/mem')
-rw-r--r-- | src/usr/diag/prdf/plat/mem/prdfP9McbistDomain.C | 34 | ||||
-rwxr-xr-x | src/usr/diag/prdf/plat/mem/prdfP9McbistDomain.H | 12 |
2 files changed, 2 insertions, 44 deletions
diff --git a/src/usr/diag/prdf/plat/mem/prdfP9McbistDomain.C b/src/usr/diag/prdf/plat/mem/prdfP9McbistDomain.C index 88c72fdf3..39d227264 100644 --- a/src/usr/diag/prdf/plat/mem/prdfP9McbistDomain.C +++ b/src/usr/diag/prdf/plat/mem/prdfP9McbistDomain.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016,2017 */ +/* Contributors Listed Below - COPYRIGHT 2016,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -44,38 +44,6 @@ namespace PRDF using namespace PlatServices; -#ifndef __HOSTBOOT_RUNTIME -int32_t McbistDomain::startScrub() -{ - #define PRDF_FUNC "[McbistDomain::startScrub] " - - PRDF_ENTER( PRDF_FUNC ); - - int32_t o_rc = SUCCESS; - - // Iterate all MCBISTs in the domain. - for ( uint32_t i = 0; i < GetSize(); ++i ) - { - RuleChip * mcbistChip = LookUp(i); - - // Start background scrub - int32_t l_rc = PRDF::startInitialBgScrub<TYPE_MCBIST>(mcbistChip); - if ( SUCCESS != l_rc ) - { - PRDF_ERR( PRDF_FUNC "startInitialBgScrub() failed: " - "MCBIST=0x%08x", mcbistChip->GetId() ); - o_rc = FAIL; continue; // Keep going. - } - } - - PRDF_EXIT( PRDF_FUNC "prdf: McbistDomain::startScrub exit" ); - - return o_rc; - - #undef PRDF_FUNC -} -#endif - #ifdef __HOSTBOOT_RUNTIME void McbistDomain::handleRrFo() { diff --git a/src/usr/diag/prdf/plat/mem/prdfP9McbistDomain.H b/src/usr/diag/prdf/plat/mem/prdfP9McbistDomain.H index 1e9b15d7e..43b9c5840 100755 --- a/src/usr/diag/prdf/plat/mem/prdfP9McbistDomain.H +++ b/src/usr/diag/prdf/plat/mem/prdfP9McbistDomain.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016,2017 */ +/* Contributors Listed Below - COPYRIGHT 2016,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -64,16 +64,6 @@ class McbistDomain : public RuleChipDomain #endif - #ifndef __HOSTBOOT_RUNTIME - - /** - * @brief Starts memory background scrubbing for all memory. - * @param Non-SUCCESS if an internal function failed, SUCCESS otherwise. - */ - int32_t startScrub(); - - #endif - }; } // end namespace PRDF |