summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorNick Bofferding <bofferdn@us.ibm.com>2014-05-13 14:59:42 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-06-23 18:18:39 -0500
commitf81a76dc1e804534b3190b4aa64b83f707bd24a3 (patch)
tree8937c6d2e2cb31c65d02f1d6642e01c9503b884f /src/include
parent2351fe8a6a86cce8480ee83b9e3eaed107aefe3e (diff)
downloadblackbird-hostboot-f81a76dc1e804534b3190b4aa64b83f707bd24a3.tar.gz
blackbird-hostboot-f81a76dc1e804534b3190b4aa64b83f707bd24a3.zip
Support dynamic VID for AVDD, VPP, VCS, VDD memory voltage domains
- Added AVDD, VPP, VCS, VPP voltage domain ID attributes - Added offset voltage attributes for all 5 memory voltage domains - Added VPP base voltage attribute - Added HWP attributes for all 5 memory voltage domain offset calcs - Added all new attributes to appropriate targets - Updated MRW parser to populate voltage domain ID attributes - Updated MRW parser to populate HWP related optional system attributes - Updated mss_volt istep to set offset voltages for all domains/membufs - Updated VID compare/equality operators to handle voltage domain type - Updated VID populator to add VID programming info from all domains - Updated VID messages to populate and receive voltage domain type - Added dynamic VID HWPs, attributes, error XML files Change-Id: I58f9eb13e4083b192d99308b8314cda0c1078800 RTC: 99246 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11091 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/hwpf/hwp/utility_procedures/mss_count_active_centaurs.H70
1 files changed, 70 insertions, 0 deletions
diff --git a/src/include/usr/hwpf/hwp/utility_procedures/mss_count_active_centaurs.H b/src/include/usr/hwpf/hwp/utility_procedures/mss_count_active_centaurs.H
new file mode 100644
index 000000000..bd6cf09e7
--- /dev/null
+++ b/src/include/usr/hwpf/hwp/utility_procedures/mss_count_active_centaurs.H
@@ -0,0 +1,70 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/usr/hwpf/hwp/utility_procedures/mss_count_active_centaurs.H $ */
+/* */
+/* OpenPOWER HostBoot Project */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2014 */
+/* */
+/* 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 */
+// $Id: mss_count_active_centaurs.H,v 1.1 2014/06/16 16:06:27 dcadiga Exp $
+//------------------------------------------------------------------------------
+// *! (C) Copyright International Business Machines Corp. 2011
+// *! All Rights Reserved -- Property of IBM
+// *! *** IBM Confidential ***
+//------------------------------------------------------------------------------
+// *! TITLE : mss_volt_vpp_offset.H
+// *! DESCRIPTION : see additional comments below
+// *! OWNER NAME : Stephen Glancy Email: sglancy@us.ibm.com
+// *! BACKUP NAME : Jacob Sloat Email: jdsloat@us.ibm.com
+// *! ADDITIONAL COMMENTS :
+//
+// Header file for mss_volt.
+//
+//------------------------------------------------------------------------------
+// Don't forget to create CVS comments when you check in your changes!
+//------------------------------------------------------------------------------
+// CHANGE HISTORY:
+//------------------------------------------------------------------------------
+// Version:| Author: | Date: | Comment:
+//---------|----------|----------|-----------------------------------------------
+// 1.2 | sglancy | 06/04/14 | Updated to include output attribute
+// 1.1 | sglancy | 05/20/14 | initial drop
+#ifndef MSS_COUNT_ACTIVE_CENT_H_
+#define MSS_COUNT_ACTIVE_CENT_H_
+
+#include <fapi.H>
+
+typedef fapi::ReturnCode (*mss_count_active_centaurs_FP_t)(std::vector<fapi::Target> & , uint32_t & , uint32_t &);
+
+extern "C"
+{
+
+/**
+ * @brief mss_count_active_centaurs procedure. Determines operating vpp voltage for dimms behind a voltage domain
+ *
+ * @param[in] std::vector<fapi::Target> l_targets Reference to vector of Centaur Targets
+ * uint32_t & var_num_active_centaur - number of active centaurs - to be returned out of the function
+ * uint32_t & var_num_inactive_centaur - number of inactive centaurs - to be returned out of the function
+ *
+ * @return ReturnCode
+ */
+
+ fapi::ReturnCode mss_count_active_centaurs(std::vector<fapi::Target> & i_targets, uint32_t & var_num_active_centaur, uint32_t &var_num_inactive_centaur);
+
+} // extern "C"
+
+#endif // MSS_COUNT_ACTIVE_CENT_H_
OpenPOWER on IntegriCloud