diff options
author | David Young <davidy@us.ibm.com> | 2015-04-15 15:48:34 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2015-11-18 00:10:04 -0600 |
commit | 2fca0c18fae9b803fae01ceeffce805a7a421bd0 (patch) | |
tree | 009a2d8b4bf3c85eee35dc22db2a3d8e8c2054ab /import | |
parent | 4a4fc18b26591986e92f1e6e0dfe487239a27c01 (diff) | |
download | talos-sbe-2fca0c18fae9b803fae01ceeffce805a7a421bd0.tar.gz talos-sbe-2fca0c18fae9b803fae01ceeffce805a7a421bd0.zip |
PPE-HWP: [Level 2] Poweronoff Hcode Procedures using API
Poweronoff, core_poweron, cache_poweron run on cronus. Wrapper functions included.
Multiple targets enabled and tested. Poweron core only turns on Vdd.
XML error file added.
Change-Id: If1243d8e82c6ca0a188c534032a10d5237e31bef
Original-Change-Id: I0b334b5f3f2c36bc4499bd6e16acf472dd3c6c41
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17846
Reviewed-by: Bilicon Patil <bilpatil@in.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Tested-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22135
Tested-by: Jenkins Server
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'import')
3 files changed, 0 insertions, 188 deletions
diff --git a/import/chips/p9/procedures/hwp/core/p9_hcd_core_poweron.H b/import/chips/p9/procedures/hwp/core/p9_hcd_core_poweron.H deleted file mode 100644 index 6b21b5b1..00000000 --- a/import/chips/p9/procedures/hwp/core/p9_hcd_core_poweron.H +++ /dev/null @@ -1,61 +0,0 @@ -/* IBM_PROLOG_BEGIN_TAG */ -/* This is an automatically generated prolog. */ -/* */ -/* $Source: chips/p9/procedures/hwp/core/p9_hcd_core_poweron.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_hcd_core_poweron.H -/// @brief Core Chiplet Power-on -/// -/// *HWP HWP Owner : David Du <daviddu@us.ibm.com> -/// *HWP FW Owner : Reshmi Nair <resnair5@in.ibm.com> -/// *HWP Team : PM -/// *HWP Consumed by : SBE:CME -/// *HWP Level : 1 -/// - - -#ifndef __P9_HCD_CORE_POWERON_H__ -#define __P9_HCD_CORE_POWERON_H__ - -extern "C" -{ - -/// @typedef p9_hcd_core_poweron_FP_t -/// function pointer typedef definition for HWP call support - typedef fapi2::ReturnCode (*p9_hcd_core_poweron_FP_t) ( - const fapi2::Target<fapi2::TARGET_TYPE_CORE>&, - const uint32_t); - - -/// @brief Core Chiplet Power-on -/// -/// @param [in] i_target TARGET_TYPE_CORE target -/// @param [in] i_operation ENUM(ON,OFF) -/// -/// @attr -/// @attritem ATTR_PFET_* -/// -/// @retval FAPI_RC_SUCCESS - fapi2::ReturnCode - p9_hcd_core_poweron( - const fapi2::Target<fapi2::TARGET_TYPE_CORE>& i_target, - const uint32_t i_operation); - - -} // extern C - -#endif // __P9_HCD_CORE_POWERON_H__ diff --git a/import/chips/p9/procedures/hwp/lib/p9_common_poweronoff.C b/import/chips/p9/procedures/hwp/lib/p9_common_poweronoff.C deleted file mode 100644 index 4741b833..00000000 --- a/import/chips/p9/procedures/hwp/lib/p9_common_poweronoff.C +++ /dev/null @@ -1,65 +0,0 @@ -/* IBM_PROLOG_BEGIN_TAG */ -/* This is an automatically generated prolog. */ -/* */ -/* $Source: chips/p9/procedures/hwp/lib/p9_common_poweronoff.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_common_poweronoff.C -/// @brief common procedure for power on/off -/// -/// *HWP HWP Owner : David Du <daviddu@us.ibm.com> -/// *HWP FW Owner : Reshmi Nair <resnair5@in.ibm.com> -/// *HWP Team : PM -/// *HWP Consumed by : SBE:SGPE:CME -/// *HWP Level : 1 -/// -/// Procedure Summary: -/// - -//------------------------------------------------------------------------------ -// Includes -//------------------------------------------------------------------------------ -#include <fapi2.H> -//#include <common_scom_addresses.H> -//will be replaced with real scom address header file -#include "p9_common_poweronoff.H" - -//------------------------------------------------------------------------------ -// Constant Definitions: -//------------------------------------------------------------------------------ - -//------------------------------------------------------------------------------ -// Procedure: -//------------------------------------------------------------------------------ - -extern "C" -{ - - fapi2::ReturnCode - p9_common_poweronoff( - const fapi2::Target < fapi2::TARGET_TYPE_EQ | - fapi2::TARGET_TYPE_CORE > & i_target, - int i_operation) - { - return fapi2::FAPI2_RC_SUCCESS; - - - } // Procedure - - -} // extern C - - diff --git a/import/chips/p9/procedures/hwp/lib/p9_common_poweronoff.H b/import/chips/p9/procedures/hwp/lib/p9_common_poweronoff.H deleted file mode 100644 index 8ffcf667..00000000 --- a/import/chips/p9/procedures/hwp/lib/p9_common_poweronoff.H +++ /dev/null @@ -1,62 +0,0 @@ -/* IBM_PROLOG_BEGIN_TAG */ -/* This is an automatically generated prolog. */ -/* */ -/* $Source: chips/p9/procedures/hwp/lib/p9_common_poweronoff.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_common_poweronoff.H -/// @brief common procedure for power on/off -/// -/// *HWP HWP Owner : David Du <daviddu@us.ibm.com> -/// *HWP FW Owner : Reshmi Nair <resnair5@in.ibm.com> -/// *HWP Team : PM -/// *HWP Consumed by : SBE:SGPE:CME -/// *HWP Level : 1 -/// - -#ifndef __P9_COMMON_POWERONOFF_H__ -#define __P9_COMMON_POWERONOFF_H__ - -extern "C" -{ - -/// @typedef p9_common_proweronoff_FP_t -/// function pointer typedef definition for HWP call support - typedef fapi2::ReturnCode (*p9_common_proweronoff_FP_t) ( - const fapi2::Target < fapi2::TARGET_TYPE_EQ | - fapi2::TARGET_TYPE_CORE > &, - int); - - -/// @brief common procedure for power on/off -/// -/// @param [in] i_target TARGET_TYPE_EQ|TARGET_TYPE_CORE target -/// @param [in] i_operation ENUM(ON,OFF) -/// -/// @attr -/// @attritem ATTR_PFET_TIMING - EX target, uint32 -/// -/// @retval FAPI_RC_SUCCESS - fapi2::ReturnCode - p9_common_proweronoff( - const fapi2::Target < fapi2::TARGET_TYPE_EQ | - fapi2::TARGET_TYPE_CORE > & i_target, - int i_operation); - - -} // extern C - -#endif // __P9_COMMON_POWERONOFF_H__ |