summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp/edi_ei_initialization/proc_fab_iovalid/proc_fab_iovalid.H
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2016-08-26 10:03:53 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-08-30 17:22:01 -0400
commitab651844afcc9b0ac6a1c74779da555b62342bf1 (patch)
treea2237315dc22c11545d00f4f97aea7645028f5ef /src/usr/hwpf/hwp/edi_ei_initialization/proc_fab_iovalid/proc_fab_iovalid.H
parent85cb1f757c9de446ab4e1f460e206091242b2c49 (diff)
downloadtalos-hostboot-ab651844afcc9b0ac6a1c74779da555b62342bf1.tar.gz
talos-hostboot-ab651844afcc9b0ac6a1c74779da555b62342bf1.zip
Remove last of old hwpf directory
Remove all of the old fapi1 HWPs from P8 Update makefiles/code to not include old hwpf headers Change-Id: Idc840554721f68b0af3b6ee6c7ad84f5df258e60 RTC: 146345 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28844 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/edi_ei_initialization/proc_fab_iovalid/proc_fab_iovalid.H')
-rw-r--r--src/usr/hwpf/hwp/edi_ei_initialization/proc_fab_iovalid/proc_fab_iovalid.H155
1 files changed, 0 insertions, 155 deletions
diff --git a/src/usr/hwpf/hwp/edi_ei_initialization/proc_fab_iovalid/proc_fab_iovalid.H b/src/usr/hwpf/hwp/edi_ei_initialization/proc_fab_iovalid/proc_fab_iovalid.H
deleted file mode 100644
index 90b5f941f..000000000
--- a/src/usr/hwpf/hwp/edi_ei_initialization/proc_fab_iovalid/proc_fab_iovalid.H
+++ /dev/null
@@ -1,155 +0,0 @@
-/* IBM_PROLOG_BEGIN_TAG */
-/* This is an automatically generated prolog. */
-/* */
-/* $Source: src/usr/hwpf/hwp/edi_ei_initialization/proc_fab_iovalid/proc_fab_iovalid.H $ */
-/* */
-/* OpenPOWER HostBoot Project */
-/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2014 */
-/* [+] 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 */
-// $Id: proc_fab_iovalid.H,v 1.10 2013/05/15 04:18:04 jmcgill Exp $
-// $Source: /afs/awd/projects/eclipz/KnowledgeBase/.cvsroot/eclipz/chips/p8/working/procedures/ipl/fapi/proc_fab_iovalid.H,v $
-//------------------------------------------------------------------------------
-// *|
-// *! (C) Copyright International Business Machines Corp. 2011
-// *! All Rights Reserved -- Property of IBM
-// *! *** ***
-// *|
-// *! TITLE : proc_fab_iovalid.H
-// *! DESCRIPTION : Manage X/A link iovalid controls (FAPI)
-// *!
-// *! OWNER NAME : Joe McGill Email: jmcgill@us.ibm.com
-// *!
-// *! ADDITIONAL COMMENTS:
-// *!
-// *! Manage fabric X/A link iovalid controls, which control the
-// *! logical link layer fabric traffic.
-// *!
-// *! The iovalid controls are intended to be raised in the IPL flow
-// *! after the underlying physical link layer is running, to start the
-// *! flow of fabric frames.
-// *!
-// *! The iovalid controls are intended to be lowered prior to stopping
-// *! the clocks in the dump process (to provide a clean dump state,
-// *! assuming that the logical layer is quiesced).
-// *!
-//------------------------------------------------------------------------------
-
-#ifndef _PROC_FAB_IOVALID_H_
-#define _PROC_FAB_IOVALID_H_
-
-//------------------------------------------------------------------------------
-// Includes
-//------------------------------------------------------------------------------
-
-#include <fapi.H>
-
-
-//------------------------------------------------------------------------------
-// Structure definitions
-//------------------------------------------------------------------------------
-
-// HWP argument structure defining properties of this chip
-struct proc_fab_iovalid_proc_chip
-{
- // target for this chip
- fapi::Target this_chip;
-
- // X busses to operate on
- bool x0;
- bool x1;
- bool x2;
- bool x3;
-
- // A busses to operate on
- bool a0;
- bool a1;
- bool a2;
-};
-
-// function pointer typedef definition for HWP call support
-typedef fapi::ReturnCode
-(*proc_fab_iovalid_FP_t)(std::vector<proc_fab_iovalid_proc_chip>&,
- bool);
-
-//------------------------------------------------------------------------------
-// Constant definitions
-//------------------------------------------------------------------------------
-
-// GP0 register bit/field definitions
-const uint8_t X_GP0_X0_IOVALID_BIT = 48;
-const uint8_t X_GP0_X1_IOVALID_BIT = 49;
-const uint8_t X_GP0_X2_IOVALID_BIT = 50;
-const uint8_t X_GP0_X3_IOVALID_BIT = 51;
-
-const uint8_t A_GP0_A0_IOVALID_BIT = 48;
-const uint8_t A_GP0_A1_IOVALID_BIT = 49;
-const uint8_t A_GP0_A2_IOVALID_BIT = 50;
-
-// ADU Secure Iovalid register bit/field definitions
-const uint8_t ADU_IOS_LINK_EN_A0_IOVALID_BIT = 0;
-const uint8_t ADU_IOS_LINK_EN_A1_IOVALID_BIT = 1;
-const uint8_t ADU_IOS_LINK_EN_A2_IOVALID_BIT = 2;
-
-// PB RAS FIR register bit/field definitions
-const uint8_t PB_RAS_FIR_X0_BIT = 0;
-const uint8_t PB_RAS_FIR_X1_BIT = 1;
-const uint8_t PB_RAS_FIR_X2_BIT = 2;
-const uint8_t PB_RAS_FIR_X3_BIT = 3;
-const uint8_t PB_RAS_FIR_A0_BIT = 4;
-const uint8_t PB_RAS_FIR_A1_BIT = 5;
-const uint8_t PB_RAS_FIR_A2_BIT = 6;
-
-// PB X FIR register bit/field definitions
-const uint64_t PB_X_FIR_X0_BIT_MASK = 0xA000800000000000ULL;
-const uint64_t PB_X_FIR_X1_BIT_MASK = 0x1400400000000000ULL;
-const uint64_t PB_X_FIR_X2_BIT_MASK = 0x0280200000000000ULL;
-const uint64_t PB_X_FIR_X3_BIT_MASK = 0x0050100000000000ULL;
-
-// PB A FIR register bit/field definitions
-const uint64_t PB_A_FIR_A0_BIT_MASK = 0x9281980040000000ULL;
-const uint64_t PB_A_FIR_A1_BIT_MASK = 0x4850066020000000ULL;
-const uint64_t PB_A_FIR_A2_BIT_MASK = 0x240A001990000000ULL;
-
-
-extern "C"
-{
-
-//------------------------------------------------------------------------------
-// Function prototypes
-//------------------------------------------------------------------------------
-
-//------------------------------------------------------------------------------
-// function: FAPI proc_fab_iovalid HWP entry point
-// operates on chips passed in i_proc_chips argument to perform
-// desired iovalid manipulation (set or clear) on specified X/A busses
-// parameters: i_proc_chips => vector of proc_fab_iovalid_proc_chip
-// structures which defines busses to
-// act on
-// i_set_not_clear => define target iovalid operation (true=set,
-// false=clear)
-// returns: FAPI_RC_SUCCESS if all specified operations complete successfully,
-// else return code for failing operation
-//------------------------------------------------------------------------------
-fapi::ReturnCode proc_fab_iovalid(
- std::vector<proc_fab_iovalid_proc_chip>& i_proc_chips,
- bool i_set_not_clear);
-
-} // extern "C"
-
-#endif // _PROC_FAB_IOVALID_H_
OpenPOWER on IntegriCloud