summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9a/procedures
diff options
context:
space:
mode:
authorStephen Glancy <sglancy@us.ibm.com>2019-04-01 13:56:39 -0400
committerChristian R. Geddes <crgeddes@us.ibm.com>2019-04-22 11:22:39 -0500
commitac6b97d1a4ffbd006f15e79e2b85d8089c05238b (patch)
treef2c1d21cb29a431a89a9c31eedec0600c336e684 /src/import/chips/p9a/procedures
parent3c3ab2bd4c3cbee67eb518bcce214234d8f071f3 (diff)
downloadtalos-hostboot-ac6b97d1a4ffbd006f15e79e2b85d8089c05238b.tar.gz
talos-hostboot-ac6b97d1a4ffbd006f15e79e2b85d8089c05238b.zip
Adds git commit data to p9a/exp procedures
Change-Id: I1df5fcb9661b3aca592c742efb13b82e5f519624 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75330 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75347 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9a/procedures')
-rw-r--r--src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.C3
-rw-r--r--src/import/chips/p9a/procedures/hwp/memory/p9a_mss_freq.C3
-rw-r--r--src/import/chips/p9a/procedures/hwp/memory/p9a_mss_volt.C5
-rw-r--r--src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train.C5
-rw-r--r--src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train_check.C3
5 files changed, 17 insertions, 2 deletions
diff --git a/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.C b/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.C
index 75d23c6af..49c7c4e56 100644
--- a/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.C
+++ b/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.C
@@ -44,6 +44,7 @@
#include <lib/eff_config/explorer_attr_engine_traits.H>
#include <lib/freq/axone_freq_traits.H>
#include <lib/freq/axone_sync.H>
+#include <generic/memory/mss_git_data_helper.H>
///
/// @brief Configure the attributes for each controller
@@ -52,6 +53,8 @@
///
fapi2::ReturnCode p9a_mss_eff_config( const fapi2::Target<fapi2::TARGET_TYPE_MEM_PORT>& i_target )
{
+ mss::display_git_commit_info("p9a_mss_eff_config");
+
// Workaround until DIMM level attrs work
uint8_t l_ranks[mss::exp::MAX_DIMM_PER_PORT] = {};
diff --git a/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_freq.C b/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_freq.C
index 342523d5a..6646ba5c4 100644
--- a/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_freq.C
+++ b/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_freq.C
@@ -47,6 +47,7 @@
#include <generic/memory/lib/spd/spd_facade.H>
#include <generic/memory/lib/utils/count_dimm.H>
#include <generic/memory/lib/utils/freq/gen_mss_freq.H>
+#include <generic/memory/mss_git_data_helper.H>
///
/// @brief Calculate and save off DIMM frequencies
@@ -55,6 +56,8 @@
///
fapi2::ReturnCode p9a_mss_freq( const fapi2::Target<fapi2::TARGET_TYPE_MEM_PORT>& i_target )
{
+ mss::display_git_commit_info("p9a_mss_freq");
+
// If there are no DIMM, we can just get out.
if (mss::count_dimm(i_target) == 0)
{
diff --git a/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_volt.C b/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_volt.C
index a7b1d4b38..090f8f455 100644
--- a/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_volt.C
+++ b/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_volt.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2018 */
+/* Contributors Listed Below - COPYRIGHT 2018,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -44,6 +44,7 @@
// mss lib
#include <generic/memory/lib/utils/c_str.H>
#include <generic/memory/lib/utils/voltage/gen_mss_volt.H>
+#include <generic/memory/mss_git_data_helper.H>
///
/// @brief Calculate and save off rail voltages
@@ -52,6 +53,8 @@
///
fapi2::ReturnCode p9a_mss_volt( const std::vector< fapi2::Target<fapi2::TARGET_TYPE_MEM_PORT> >& i_targets )
{
+ mss::display_git_commit_info("p9a_mss_volt");
+
for (const auto& l_port : i_targets)
{
FAPI_TRY( (mss::setup_voltage_rail_values<mss::mc_type::EXPLORER, mss::spd::device_type::DDR4>(l_port)),
diff --git a/src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train.C b/src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train.C
index 70202d95f..f26f85a87 100644
--- a/src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train.C
+++ b/src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2018 */
+/* Contributors Listed Below - COPYRIGHT 2018,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -47,6 +47,7 @@
#include <generic/memory/lib/utils/find.H>
#include <generic/memory/lib/utils/shared/mss_generic_consts.H>
#include <lib/mc/omi.H>
+#include <generic/memory/mss_git_data_helper.H>
///
@@ -56,6 +57,8 @@
///
fapi2::ReturnCode p9a_omi_train( const fapi2::Target<fapi2::TARGET_TYPE_OMI>& i_target)
{
+ mss::display_git_commit_info("p9a_omi_train");
+
FAPI_INF("%s Start p9a_omi_train", mss::c_str(i_target));
const auto l_mc = mss::find_target<fapi2::TARGET_TYPE_MC>(i_target);
diff --git a/src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train_check.C b/src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train_check.C
index 50119a44d..8a010bded 100644
--- a/src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train_check.C
+++ b/src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train_check.C
@@ -44,6 +44,7 @@
#include <generic/memory/lib/utils/buffer_ops.H>
#include <generic/memory/lib/utils/shared/mss_generic_consts.H>
#include <lib/mc/omi.H>
+#include <generic/memory/mss_git_data_helper.H>
///
/// @brief Check the omi status in Axone side
@@ -52,6 +53,8 @@
///
fapi2::ReturnCode p9a_omi_train_check( const fapi2::Target<fapi2::TARGET_TYPE_OMI>& i_target)
{
+ mss::display_git_commit_info("p9a_omi_train_check");
+
FAPI_INF("%s Start p9a_omi_train_check", mss::c_str(i_target));
// Const
OpenPOWER on IntegriCloud