diff options
author | Joe McGill <jmcgill@us.ibm.com> | 2016-09-19 17:01:31 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-08-07 13:52:33 -0400 |
commit | d2cbe63811507645b13e99adaa69944407a442a2 (patch) | |
tree | 49e1df624c15e57ee51f7e82ee68108346816f83 /src/import/chips/centaur | |
parent | 0e2147d8f946014ee4cdc3e4b4d457ad5e91f057 (diff) | |
download | talos-hostboot-d2cbe63811507645b13e99adaa69944407a442a2.tar.gz talos-hostboot-d2cbe63811507645b13e99adaa69944407a442a2.zip |
cen_tp_chiplet_init1 -- initial release
Change-Id: I13fdd41577c74c743e71147eaea7e844452a55aa
Original-Change-Id: I18692b28c8f394e288aef3a2916718f92884176d
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29910
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: LUCAS W. MULKEY <lwmulkey@us.ibm.com>
Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44284
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/centaur')
-rw-r--r-- | src/import/chips/centaur/procedures/hwp/perv/cen_tp_chiplet_init1.H | 79 | ||||
-rw-r--r-- | src/import/chips/centaur/procedures/hwp/perv/cen_tp_chiplet_init1.mk | 26 |
2 files changed, 105 insertions, 0 deletions
diff --git a/src/import/chips/centaur/procedures/hwp/perv/cen_tp_chiplet_init1.H b/src/import/chips/centaur/procedures/hwp/perv/cen_tp_chiplet_init1.H new file mode 100644 index 000000000..36dfcf7c3 --- /dev/null +++ b/src/import/chips/centaur/procedures/hwp/perv/cen_tp_chiplet_init1.H @@ -0,0 +1,79 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/import/chips/centaur/procedures/hwp/perv/cen_tp_chiplet_init1.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016,2017 */ +/* [+] 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 cen_tp_chiplet_init1.H +/// @brief Centaur Pervasive Init Phase 1 (FAPI2) +/// +/// General Description : Pervasive Init Procedure 1 +/// - Re-Initializes Mailbox Registers +/// - Releases PCB reset +/// - Sets PRV Chiplet Enable +/// - Drops PRV Chiplet fence enable +/// +/// @author Joe McGill <jmcgill@us.ibm.com> +/// + +// +// *HWP HWP Owner: Joe McGill <jmcgill@us.ibm.com> +// *HWP FW Owner: Thi Tran <thi@us.ibm.com> +// *HWP Team: Nest +// *HWP Level: 2 +// *HWP Consumed by: HB +// + +#ifndef _CEN_TP_CHIPLET_INIT1_H_ +#define _CEN_TP_CHIPLET_INIT1_H_ + + +//------------------------------------------------------------------------------ +// Includes +//------------------------------------------------------------------------------ +#include <fapi2.H> + +//------------------------------------------------------------------------------ +// Structure definitions +//------------------------------------------------------------------------------ + +/// function pointer typedef definition for HWP call support +typedef fapi2::ReturnCode (*cen_tp_chiplet_init1_FP_t) (const fapi2::Target<fapi2::TARGET_TYPE_MEMBUF_CHIP>&); + + +//------------------------------------------------------------------------------ +// Function prototypes +//------------------------------------------------------------------------------ + +extern "C" +{ + +/// +/// @brief Perform pervasive init 1 istep +/// +/// @param[in] i_target Reference to Centaur chip target +/// @return fapi::ReturnCode. FAPI2_RC_SUCCESS if success, else error code. +/// + fapi2::ReturnCode cen_tp_chiplet_init1(const fapi2::Target<fapi2::TARGET_TYPE_MEMBUF_CHIP>& i_target); + +} // extern "C" + +#endif // _CEN_TP_CHIPLET_INIT1_H_ diff --git a/src/import/chips/centaur/procedures/hwp/perv/cen_tp_chiplet_init1.mk b/src/import/chips/centaur/procedures/hwp/perv/cen_tp_chiplet_init1.mk new file mode 100644 index 000000000..9dd050f09 --- /dev/null +++ b/src/import/chips/centaur/procedures/hwp/perv/cen_tp_chiplet_init1.mk @@ -0,0 +1,26 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: src/import/chips/centaur/procedures/hwp/perv/cen_tp_chiplet_init1.mk $ +# +# OpenPOWER HostBoot Project +# +# Contributors Listed Below - COPYRIGHT 2016,2017 +# [+] 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=cen_tp_chiplet_init1 +$(call BUILD_PROCEDURE) |