diff options
author | Anusha Reddy Rangareddygari <anusrang@in.ibm.com> | 2015-10-30 08:11:54 +0100 |
---|---|---|
committer | Stephen Cprek <smcprek@us.ibm.com> | 2016-02-19 15:31:46 -0600 |
commit | 831815eb2d895f96cb9839a624c23f498ad3d6b5 (patch) | |
tree | ca2c7313331969e316ca784f5081dc4e253c870a /src/import/chips/p9/procedures/hwp/perv | |
parent | 352f6609df69959ee65a3bcf8441c18a8511c4b8 (diff) | |
download | talos-hostboot-831815eb2d895f96cb9839a624c23f498ad3d6b5.tar.gz talos-hostboot-831815eb2d895f96cb9839a624c23f498ad3d6b5.zip |
Level 1 HWP for p9_chiplet_enable_ridi
Change-Id: Id24c2389b2ec022974e94abf4c3bf6886bc28e30
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21616
Tested-by: Jenkins Server
Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com>
Reviewed-by: Sunil Kumar <skumar8j@in.ibm.com>
Reviewed-by: Parvathi Rachakonda
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23164
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/perv')
3 files changed, 117 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_chiplet_enable_ridi.C b/src/import/chips/p9/procedures/hwp/perv/p9_chiplet_enable_ridi.C new file mode 100644 index 000000000..5d775b1ab --- /dev/null +++ b/src/import/chips/p9/procedures/hwp/perv/p9_chiplet_enable_ridi.C @@ -0,0 +1,46 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: chips/p9/procedures/hwp/perv/p9_chiplet_enable_ridi.C $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* EKB Project */ +/* */ +/* COPYRIGHT 2015 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* IBM_PROLOG_END_TAG */ +//------------------------------------------------------------------------------ +/// @file p9_chiplet_enable_ridi.C +/// +/// @brief Enable RI/DI chip wide +//------------------------------------------------------------------------------ +// *HWP HW Owner : Anusha Reddy Rangareddygari <anusrang@in.ibm.com> +// *HWP HW Backup Owner : Srinivas V Naga <srinivan@in.ibm.com> +// *HWP FW Owner : Sunil Kumar <skumar8j@in.ibm.com> +// *HWP Team : Perv +// *HWP Level : 1 +// *HWP Consumed by : HB +//------------------------------------------------------------------------------ + + +//## auto_generated +#include "p9_chiplet_enable_ridi.H" + + + +fapi2::ReturnCode p9_chiplet_enable_ridi(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_target_chiplet) +{ + FAPI_DBG("Entering ..."); + + FAPI_DBG("Exiting ..."); + + return fapi2::FAPI2_RC_SUCCESS; + +} diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_chiplet_enable_ridi.H b/src/import/chips/p9/procedures/hwp/perv/p9_chiplet_enable_ridi.H new file mode 100644 index 000000000..a2161cfb5 --- /dev/null +++ b/src/import/chips/p9/procedures/hwp/perv/p9_chiplet_enable_ridi.H @@ -0,0 +1,51 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: chips/p9/procedures/hwp/perv/p9_chiplet_enable_ridi.H $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* EKB Project */ +/* */ +/* COPYRIGHT 2015 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* IBM_PROLOG_END_TAG */ +//------------------------------------------------------------------------------ +/// @file p9_chiplet_enable_ridi.H +/// +/// @brief Enable RI/DI chip wide +//------------------------------------------------------------------------------ +// *HWP HW Owner : Anusha Reddy Rangareddygari <anusrang@in.ibm.com> +// *HWP HW Backup Owner : Srinivas V Naga <srinivan@in.ibm.com> +// *HWP FW Owner : Sunil Kumar <skumar8j@in.ibm.com> +// *HWP Team : Perv +// *HWP Level : 1 +// *HWP Consumed by : HB +//------------------------------------------------------------------------------ + + +#ifndef _P9_CHIPLET_ENABLE_RIDI_H_ +#define _P9_CHIPLET_ENABLE_RIDI_H_ + + +#include <fapi2.H> + + +typedef fapi2::ReturnCode (*p9_chiplet_enable_ridi_FP_t)(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>&); + +/// @brief Drop RI/DI for all chiplets being used (A, X, O, Pcie, DMI) +/// +/// @param[in] i_target_chiplet Reference to TARGET_TYPE_PROC_CHIP target +/// @return FAPI2_RC_SUCCESS if success, else error code. +extern "C" +{ + fapi2::ReturnCode p9_chiplet_enable_ridi(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_target_chiplet); +} + +#endif diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_chiplet_enable_ridi.mk b/src/import/chips/p9/procedures/hwp/perv/p9_chiplet_enable_ridi.mk new file mode 100644 index 000000000..cc6240e27 --- /dev/null +++ b/src/import/chips/p9/procedures/hwp/perv/p9_chiplet_enable_ridi.mk @@ -0,0 +1,20 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: chips/p9/procedures/hwp/perv/p9_chiplet_enable_ridi.mk $ +# +# IBM CONFIDENTIAL +# +# EKB Project +# +# COPYRIGHT 2015 +# [+] International Business Machines Corp. +# +# +# The source code for this program is not published or otherwise +# divested of its trade secrets, irrespective of what has been +# deposited with the U.S. Copyright Office. +# +# IBM_PROLOG_END_TAG +PROCEDURE=p9_chiplet_enable_ridi +$(call BUILD_PROCEDURE) |