/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/workarounds/dp16_workarounds.H $ */ /* */ /* OpenPOWER HostBoot Project */ /* */ /* Contributors Listed Below - COPYRIGHT 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 workarounds/dp16.H /// @brief Workarounds for the DP16 logic blocks /// Workarounds are very deivce specific, so there is no attempt to generalize /// this code in any way. /// // *HWP HWP Owner: Brian Silver // *HWP HWP Backup: Steven Glancy // *HWP Team: Memory // *HWP Level: 2 // *HWP Consumed by: FSP:HB #ifndef _MSS_WORKAROUNDS_DP16_H_ #define _MSS_WORKAROUNDS_DP16_H_ #include namespace mss { namespace workarounds { namespace dp16 { /// /// @brief DQS polarity workaround /// For Monza DDR port 2, one pair of DQS P/N is swapped polarity. Not in DDR port 6 /// @param[in] i_target the fapi2 target of the port /// @return fapi2::ReturnCode FAPI2_RC_SUCCESS if ok /// @note This function is called during the phy scom init procedure, after the initfile is /// processed. It is specific to the Monza module, but can be called for all modules as it /// will enforce its requirements internally /// fapi2::ReturnCode dqs_polarity( const fapi2::Target& i_target ); /// /// @brief DP16 Read Diagnostic Configuration 5 work around /// Not in the Model 67 spydef, so we scom them. Should be removed when they are /// added to the spydef. /// @param[in] i_target the fapi2 target of the port /// @return fapi2::ReturnCode FAPI2_RC_SUCCESS if ok /// fapi2::ReturnCode rd_dia_config5( const fapi2::Target& i_target ); /// /// @brief DP16 DQSCLK Offset work around /// Not in the Model 67 spydef, so we scom them. Should be removed when they are /// added to the spydef. /// @param[in] i_target the fapi2 target of the port /// @return fapi2::ReturnCode FAPI2_RC_SUCCESS if ok /// fapi2::ReturnCode dqsclk_offset( const fapi2::Target& i_target ); } // close namespace dp16 } // close namespace workarounds } // close namespace mss #endif