diff options
author | Anusha Reddy Rangareddygari <anusrang@in.ibm.com> | 2015-10-21 13:16:14 +0200 |
---|---|---|
committer | Stephen Cprek <smcprek@us.ibm.com> | 2016-02-19 15:31:42 -0600 |
commit | a056a3f039b90dc1a0442d21b646f96873e1ad54 (patch) | |
tree | 1c0181bfbda92218dce5af5758278e883e20c920 | |
parent | 9ab2635967af0e35580e2f47d067dcf28dbc66f2 (diff) | |
download | talos-hostboot-a056a3f039b90dc1a0442d21b646f96873e1ad54.tar.gz talos-hostboot-a056a3f039b90dc1a0442d21b646f96873e1ad54.zip |
Level 1 HWP for p9_mem_skewadjust
Change-Id: Iea55b3d901bca44de14009bd4b2dda657620f674
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21371
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/23157
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
3 files changed, 117 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_mem_skewadjust.C b/src/import/chips/p9/procedures/hwp/perv/p9_mem_skewadjust.C new file mode 100644 index 000000000..53c82a63d --- /dev/null +++ b/src/import/chips/p9/procedures/hwp/perv/p9_mem_skewadjust.C @@ -0,0 +1,46 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: chips/p9/procedures/hwp/perv/p9_mem_skewadjust.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_skewadjust.C +/// +/// @brief update clock mesh deskew +//------------------------------------------------------------------------------ +// *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_skewadjust.H" + + + +fapi2::ReturnCode p9_mem_skewadjust(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_skewadjust.H b/src/import/chips/p9/procedures/hwp/perv/p9_mem_skewadjust.H new file mode 100644 index 000000000..10c4898cd --- /dev/null +++ b/src/import/chips/p9/procedures/hwp/perv/p9_mem_skewadjust.H @@ -0,0 +1,51 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: chips/p9/procedures/hwp/perv/p9_mem_skewadjust.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_skewadjust.H +/// +/// @brief update clock mesh deskew +//------------------------------------------------------------------------------ +// *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_SKEWADJUST_H_ +#define _P9_MEM_SKEWADJUST_H_ + + +#include <fapi2.H> + + +typedef fapi2::ReturnCode (*p9_mem_skewadjust_FP_t)(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>&); + +/// @brief pull repair/tune bits from VPD to setup before nest PLLs are started, Needed for any clocks that run synchronous to nest. +/// +/// @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_skewadjust(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_target_chiplet); +} + +#endif diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_mem_skewadjust.mk b/src/import/chips/p9/procedures/hwp/perv/p9_mem_skewadjust.mk new file mode 100644 index 000000000..5cd922f90 --- /dev/null +++ b/src/import/chips/p9/procedures/hwp/perv/p9_mem_skewadjust.mk @@ -0,0 +1,20 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: chips/p9/procedures/hwp/perv/p9_mem_skewadjust.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_skewadjust +$(call BUILD_PROCEDURE) |