diff options
| author | Joe McGill <jmcgill@us.ibm.com> | 2016-04-12 13:45:08 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-08-22 11:20:44 -0400 |
| commit | f208ffda236a986699ef1dc37a5b5975eb0059da (patch) | |
| tree | c6d364ff2cde98122d7258b1d9abb0ec366cb5fe /src | |
| parent | 823bdb8ddb50da3e7f48a7b8a1066d1aa61e9f17 (diff) | |
| download | talos-hostboot-f208ffda236a986699ef1dc37a5b5975eb0059da.tar.gz talos-hostboot-f208ffda236a986699ef1dc37a5b5975eb0059da.zip | |
initial release for missing istep s0 procedures
p9_pre_poweron
cen_pre_poweron
p9_cen_ref_clk_enable
Change-Id: Ide61e7b1188d91e6e9eac5b05a19675f8e2ba8bc
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23179
Tested-by: Jenkins Server
Dev-Ready: Joseph J. McGill <jmcgill@us.ibm.com>
Reviewed-by: Brent Wieman <bwieman@us.ibm.com>
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: Benjamin Gass <bgass@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44934
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
3 files changed, 155 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_cen_ref_clk_enable.C b/src/import/chips/p9/procedures/hwp/perv/p9_cen_ref_clk_enable.C new file mode 100644 index 000000000..87c6e60ac --- /dev/null +++ b/src/import/chips/p9/procedures/hwp/perv/p9_cen_ref_clk_enable.C @@ -0,0 +1,55 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/import/chips/p9/procedures/hwp/perv/p9_cen_ref_clk_enable.C $ */ +/* */ +/* 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 p9_cen_ref_clk_enable.C +/// @brief Enable Centaur reference clocks (FAPI2) +/// +/// @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: Perv +// *HWP Level: 1 +// *HWP Consumed by: HB,FSP +// + +//------------------------------------------------------------------------------ +// Includes +//------------------------------------------------------------------------------ +#include <p9_cen_ref_clk_enable.H> + +//------------------------------------------------------------------------------ +// Function definitions +//------------------------------------------------------------------------------ + +fapi2::ReturnCode +p9_cen_ref_clk_enable(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_target) +{ + FAPI_INF("Start"); + FAPI_INF("End"); + return fapi2::current_err; +} diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_cen_ref_clk_enable.H b/src/import/chips/p9/procedures/hwp/perv/p9_cen_ref_clk_enable.H new file mode 100644 index 000000000..2c1b3aad9 --- /dev/null +++ b/src/import/chips/p9/procedures/hwp/perv/p9_cen_ref_clk_enable.H @@ -0,0 +1,74 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/import/chips/p9/procedures/hwp/perv/p9_cen_ref_clk_enable.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 p9_cen_ref_clk_enable.H +/// @brief Enable Centaur reference clocks (FAPI2) +/// +/// @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: Perv +// *HWP Level: 1 +// *HWP Consumed by: HB,FSP +// + +#ifndef _P9_CEN_REF_CLK_ENABLE_H_ +#define _P9_CEN_REF_CLK_ENABLE_H_ + + +//------------------------------------------------------------------------------ +// Includes +//------------------------------------------------------------------------------ +#include <fapi2.H> + +//------------------------------------------------------------------------------ +// Structure definitions +//------------------------------------------------------------------------------ + +/// function pointer typedef definition for HWP call support +typedef fapi2::ReturnCode (*p9_cen_ref_clk_enable_FP_t) (const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>&); + + +//------------------------------------------------------------------------------ +// Function prototypes +//------------------------------------------------------------------------------ + +extern "C" +{ + +/// +/// @brief Enable reference clocks for attached memory buffer chips +/// +/// @param[in] i_target Reference to processor chip target +/// @return fapi::ReturnCode. FAPI2_RC_SUCCESS if success, else error code. +/// + fapi2::ReturnCode p9_cen_ref_clk_enable(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_target); + +} // extern "C" + +#endif // _P9_CEN_REF_CLK_ENABLE_H_ diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_cen_ref_clk_enable.mk b/src/import/chips/p9/procedures/hwp/perv/p9_cen_ref_clk_enable.mk new file mode 100644 index 000000000..05ee3f4e0 --- /dev/null +++ b/src/import/chips/p9/procedures/hwp/perv/p9_cen_ref_clk_enable.mk @@ -0,0 +1,26 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: src/import/chips/p9/procedures/hwp/perv/p9_cen_ref_clk_enable.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=p9_cen_ref_clk_enable +$(call BUILD_PROCEDURE) |

