diff options
author | Andre Marin <aamarin@us.ibm.com> | 2016-03-15 18:32:40 -0500 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2016-10-24 11:43:57 -0400 |
commit | 693958ae4c5f0b7e453c00abda380e8a20c9aee0 (patch) | |
tree | 80fcbcf67e019b93faed8ca2d5710ff652d00b7f /src/import/chips/p9/procedures/hwp/memory/p9_mss_bulk_pwr_throttles.C | |
parent | c1119f46316546d97d3b9de5f88f88c5df3cca6b (diff) | |
download | talos-hostboot-693958ae4c5f0b7e453c00abda380e8a20c9aee0.tar.gz talos-hostboot-693958ae4c5f0b7e453c00abda380e8a20c9aee0.zip |
Add mss throttle files L1
Change-Id: Icc9ee3e446a798685922111695daa8ba84e2997e
Original-Change-Id: I4a8a83151b3287a38235db11cd298900119aed35
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22149
Tested-by: Jenkins Server
Tested-by: Hostboot CI
Reviewed-by: Brian R. Silver <bsilver@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31665
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/p9_mss_bulk_pwr_throttles.C')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/p9_mss_bulk_pwr_throttles.C | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/p9_mss_bulk_pwr_throttles.C b/src/import/chips/p9/procedures/hwp/memory/p9_mss_bulk_pwr_throttles.C new file mode 100644 index 000000000..a0d7a8b07 --- /dev/null +++ b/src/import/chips/p9/procedures/hwp/memory/p9_mss_bulk_pwr_throttles.C @@ -0,0 +1,57 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/import/chips/p9/procedures/hwp/memory/p9_mss_bulk_pwr_throttles.C $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2015,2016 */ +/* [+] 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_mss_bulk_pwr_throttles.C +/// @brief Set the throttle attributes based on a power limit for the dimms on the channel pair +/// +// *HWP HWP Owner: Andre Marin <aamarin@us.ibm.com> +// *HWP HWP Backup: Brian Silver <bsilver@us.ibm.com> +// *HWP Team: Memory +// *HWP Level: 1 +// *HWP Consumed by: FSP:HB + +#include <fapi2.H> +#include <p9_mss_bulk_pwr_throttles.H> + +using fapi2::TARGET_TYPE_MCS; + +extern "C" +{ + +/// +/// @brief Set the throttle attributes based on a power limit for the dimms on the channel pair +/// @param[in] i_target the controller target +/// @return FAPI2_RC_SUCCESS iff ok +/// + fapi2::ReturnCode p9_mss_bulk_pwr_throttles( const fapi2::Target<TARGET_TYPE_MCS>& i_target ) + { + FAPI_INF("Start bulk_pwr_throttles"); + FAPI_INF("End bulk_pwr_throttles"); + + return fapi2::FAPI2_RC_SUCCESS; + } + +}// extern C |