/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/common/include/p9_quad_scom_addresses_fixes.H $ */ /* */ /* OpenPOWER sbe Project */ /* */ /* Contributors Listed Below - COPYRIGHT 2015,2016 */ /* [+] 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 quad_scom_addresses_fixes.H /// @brief The *scom_addresses.H files are generated form figtree, but /// the figree can be wrong. This file is included at the end /// of scom_addresses.H and allows incorrect constants to be /// fixed manually. /// // *HWP HWP Owner: Ben Gass // *HWP FW Owner: ? // *HWP Team: SAO // *HWP Level: 1 // *HWP Consumed by: FSP:HB:HS:OCC:SBE:CME:SGPE:PGPE:FPPE:IPPE #ifndef __P9_QUAD_SCOM_ADDRESSES_FIXES_H #define __P9_QUAD_SCOM_ADDRESSES_FIXES_H //Example, //Copy the whole line from the *scom_addresses.H file. Then add //FIX in front of REG, and add another paramter that is the new //corrected value. //FIXREG64( PU_ALTD_ADDR_REG, // RULL(0x05022800), SH_UNT, SH_ACS_SCOM, // RULL(0x00090000) // ); //L2 laoder REG64( EQ_QPPM_QACCR_SCOM2 , RULL(0x100F0162), SH_UNT_EQ , SH_ACS_SCOM2 ); REG64( EQ_PPM_CGCR_OR , RULL(0x100F0167), SH_UNT_EQ , SH_ACS_SCOM2_OR ); REG64( EQ_PPM_CGCR_CLEAR , RULL(0x100F0166), SH_UNT_EQ , SH_ACS_SCOM1_CLEAR ); REG64( C_PPM_CGCR_CLEAR , RULL(0x200F0166), SH_UNT_C , SH_ACS_SCOM1_CLEAR ); REG64( C_PPM_CGCR_OR , RULL(0x200F0167), SH_UNT_C , SH_ACS_SCOM2_OR ); FIXREG64( EQ_TPLC20_TR0_TRACE_HI_DATA_REG, RULL(0x10012800), SH_UNT_EQ, SH_ACS_SCOM_RO, RULL(0x10012900)); FIXREG64( EQ_TPLC20_TR1_TRACE_HI_DATA_REG, RULL(0x10012840), SH_UNT_EQ, SH_ACS_SCOM_RO, RULL(0x10012940)); FIXREG64( EQ_TPLC21_TR0_TRACE_HI_DATA_REG, RULL(0x10012C00), SH_UNT_EQ, SH_ACS_SCOM_RO, RULL(0x10012D00)); FIXREG64( EQ_TPLC21_TR1_TRACE_HI_DATA_REG, RULL(0x10012C40), SH_UNT_EQ, SH_ACS_SCOM_RO, RULL(0x10012D40)); #endif