# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/import/chips/p9/procedures/hwp/io/p9_io_xbus_clear_firs.mk $
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2015,2019
# [+] 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
PROCEDURE=p9_io_xbus_clear_firs
$(call BUILD_PROCEDURE)

# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/import/chips/p9/procedures/hwp/io/p9_io_xbus_clear_firs.mk $
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2015,2019
# [+] 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
PROCEDURE=p9_io_xbus_clear_firs
OBJS+=p9_io_xbus_read_erepair.o
$(call BUILD_PROCEDURE)

Move Xbus Erepair FIR Clearing
Move Xbus Erepair FIR Clearing

- Bad lane data is preserved between IPLs to help
    with DI.
- We only want a single error log for a known bad lane,
    so we will clear the fir bits.
- This commit is moving the clearing of the fir bits
    until after intra-node SMP is built

Change-Id: I44ef2af98a03e7aeb2bbfc66957c650829f660a5
Original-Change-Id: Id71b0902d81dfc2251cc84c355f7633ce1c16360
CQ: SW437852
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62672
Reviewed-by: Joseph J. McGill <4a85c6614f9f065f63d8fd57cde15e48af07ea2a@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <fb8db48116bc8a69e29dd8cdb037246f232f4af5@us.ibm.com>
Reviewed-by: Gary A. Peterson <4fad44d1159626f080df244aebc90d985f64f4dc@us.ibm.com>
Tested-by: Jenkins Server <8e3f934e4c44875bc48d33da3ea13d93ba9a233f@us.ibm.com>
Tested-by: Hostboot CI <52521565bd8ea18a2b112942dce4f4220a97c2c8@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <ab93eca12e43608f33daa16a67357cd7b7e867ab@us.ibm.com>
