diff options
author | Anusha Reddy Rangareddygari <anusrang@in.ibm.com> | 2015-10-21 12:33:20 +0200 |
---|---|---|
committer | Stephen Cprek <smcprek@us.ibm.com> | 2016-02-19 15:31:43 -0600 |
commit | afc572771a135b761f4d0cc824ebb77dde62292c (patch) | |
tree | c09d7e9bb0e8c04e68945e207a045edc3b377d85 /src/import/chips/p9/procedures/hwp/perv | |
parent | d64dfcaea10a71641764af88d6a11b7c7b7d6280 (diff) | |
download | talos-hostboot-afc572771a135b761f4d0cc824ebb77dde62292c.tar.gz talos-hostboot-afc572771a135b761f4d0cc824ebb77dde62292c.zip |
Level 1 HWP for p9_mem_pll_setup
Change-Id: Ieea9a470504da102f67e1933defc0b87fd64f260
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21369
Tested-by: Jenkins Server
Reviewed-by: Sunil Kumar <skumar8j@in.ibm.com>
Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com>
Reviewed-by: Parvathi Rachakonda
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23159
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_mem_pll_setup.C b/src/import/chips/p9/procedures/hwp/perv/p9_mem_pll_setup.C new file mode 100644 index 000000000..4cd379f9a --- /dev/null +++ b/src/import/chips/p9/procedures/hwp/perv/p9_mem_pll_setup.C @@ -0,0 +1,46 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: chips/p9/procedures/hwp/perv/p9_mem_pll_setup.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_mem_pll_setup.C +/// +/// @brief setup PLL for MBAs +//------------------------------------------------------------------------------ +// *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_mem_pll_setup.H" + + + +fapi2::ReturnCode p9_mem_pll_setup(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_mem_pll_setup.H b/src/import/chips/p9/procedures/hwp/perv/p9_mem_pll_setup.H new file mode 100644 index 000000000..895a334f8 --- /dev/null +++ b/src/import/chips/p9/procedures/hwp/perv/p9_mem_pll_setup.H @@ -0,0 +1,51 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: chips/p9/procedures/hwp/perv/p9_mem_pll_setup.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_mem_pll_setup.H +/// +/// @brief setup PLL for MBAs +//------------------------------------------------------------------------------ +// *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_MEM_PLL_SETUP_H_ +#define _P9_MEM_PLL_SETUP_H_ + + +#include <fapi2.H> + + +typedef fapi2::ReturnCode (*p9_mem_pll_setup_FP_t)(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>&); + +/// @brief MBA PLL setup, Performs PLL checking, This step is a no-op if memory is running in synchronous mode since MCAs are using thr nest PLL. +/// +/// @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_mem_pll_setup(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_target_chiplet); +} + +#endif diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_mem_pll_setup.mk b/src/import/chips/p9/procedures/hwp/perv/p9_mem_pll_setup.mk new file mode 100644 index 000000000..b671502e0 --- /dev/null +++ b/src/import/chips/p9/procedures/hwp/perv/p9_mem_pll_setup.mk @@ -0,0 +1,20 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: chips/p9/procedures/hwp/perv/p9_mem_pll_setup.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_mem_pll_setup +$(call BUILD_PROCEDURE) |