diff options
author | Caleb Palmer <cnpalmer@us.ibm.com> | 2019-03-01 09:45:56 -0600 |
---|---|---|
committer | Zane C. Shelley <zshelle@us.ibm.com> | 2019-03-06 11:00:51 -0600 |
commit | d94e5b51c9e582ce60ba9b930f98ebaf3eb011d4 (patch) | |
tree | 6567e431b84794d4271d4ecf8748d1509e77c141 /src/usr/diag/prdf/plat/cen | |
parent | 0af9610f18a1d8979046617744c2c8e9ada33ad8 (diff) | |
download | talos-hostboot-d94e5b51c9e582ce60ba9b930f98ebaf3eb011d4.tar.gz talos-hostboot-d94e5b51c9e582ce60ba9b930f98ebaf3eb011d4.zip |
PRD: Remove old domain startScrubs
Change-Id: Iaf82c31b9f93e89d4dc5cd24c824622c967230e7
RTC: 205441
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72722
Tested-by: Jenkins Server <pfd-jenkins+hostboot@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/72887
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-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/cen')
-rw-r--r-- | src/usr/diag/prdf/plat/cen/prdfCenMbaDomain_ipl.C | 79 | ||||
-rw-r--r-- | src/usr/diag/prdf/plat/cen/prdf_plat_cen_hb_only.mk | 13 |
2 files changed, 1 insertions, 91 deletions
diff --git a/src/usr/diag/prdf/plat/cen/prdfCenMbaDomain_ipl.C b/src/usr/diag/prdf/plat/cen/prdfCenMbaDomain_ipl.C deleted file mode 100644 index 3570d79a6..000000000 --- a/src/usr/diag/prdf/plat/cen/prdfCenMbaDomain_ipl.C +++ /dev/null @@ -1,79 +0,0 @@ -/* IBM_PROLOG_BEGIN_TAG */ -/* This is an automatically generated prolog. */ -/* */ -/* $Source: src/usr/diag/prdf/plat/cen/prdfCenMbaDomain_ipl.C $ */ -/* */ -/* OpenPOWER HostBoot Project */ -/* */ -/* Contributors Listed Below - COPYRIGHT 2013,2018 */ -/* [+] International Business Machines Corp. */ -/* */ -/* */ -/* Licensed under the Apache License, Version 2.0 (the "License"); */ -/* you may not use this file except in compliance with the License. */ -/* You may obtain a copy of the License at */ -/* */ -/* http://www.apache.org/licenses/LICENSE-2.0 */ -/* */ -/* Unless required by applicable law or agreed to in writing, software */ -/* distributed under the License is distributed on an "AS IS" BASIS, */ -/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ -/* implied. See the License for the specific language governing */ -/* permissions and limitations under the License. */ -/* */ -/* IBM_PROLOG_END_TAG */ - -/** - * @file prdfCenMbaDomain.C - * @brief chip Plug-in code for mcbist domain - */ - -#include <prdfCenMbaDomain.H> - -// Framework includes -#include <prdfExtensibleChip.H> -#include <prdfPlatServices.H> -#include <prdfTrace.H> - -// Platform includes -#include <prdfMemBgScrub.H> - -using namespace TARGETING; - -namespace PRDF -{ - -using namespace PlatServices; - -int32_t MbaDomain::startScrub() -{ - #define PRDF_FUNC "[MbaDomain::startScrub] " - - int32_t o_rc = SUCCESS; - - do - { - // Iterate all MBAs in the domain. - for ( uint32_t i = 0; i < GetSize(); ++i ) - { - RuleChip * mbaChip = LookUp(i); - - // Start background scrub - int32_t l_rc = PRDF::startInitialBgScrub<TYPE_MBA>(mbaChip); - if ( SUCCESS != l_rc ) - { - PRDF_ERR( PRDF_FUNC "startInitialBgScrub() failed: MBA=0x%08x", - mbaChip->getHuid() ); - o_rc = FAIL; continue; // Keep going. - } - } - - } while (0); - - return o_rc; - - #undef PRDF_FUNC -} - -} // end namespace PRDF - diff --git a/src/usr/diag/prdf/plat/cen/prdf_plat_cen_hb_only.mk b/src/usr/diag/prdf/plat/cen/prdf_plat_cen_hb_only.mk index 8468f2ed4..541d0597d 100644 --- a/src/usr/diag/prdf/plat/cen/prdf_plat_cen_hb_only.mk +++ b/src/usr/diag/prdf/plat/cen/prdf_plat_cen_hb_only.mk @@ -5,7 +5,7 @@ # # OpenPOWER HostBoot Project # -# Contributors Listed Below - COPYRIGHT 2016,2018 +# Contributors Listed Below - COPYRIGHT 2016,2019 # [+] International Business Machines Corp. # # @@ -41,17 +41,6 @@ prd_incpath += ${PRD_SRC_PATH}/plat/cen prd_rule_plugin += prdfCenMembuf.o ################################################################################ -# Hostboot only object files (IPL only) -################################################################################ - -ifneq (${HOSTBOOT_RUNTIME},1) - -# plat/cen/ (non-rule plugin related) -prd_obj += prdfCenMbaDomain_ipl.o - -endif - -################################################################################ # Hostboot only object files (runtime only) ################################################################################ |