diff options
author | Stephen Glancy <sglancy@us.ibm.com> | 2019-04-01 13:56:39 -0400 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2019-04-22 11:22:39 -0500 |
commit | ac6b97d1a4ffbd006f15e79e2b85d8089c05238b (patch) | |
tree | f2c1d21cb29a431a89a9c31eedec0600c336e684 /src/import/chips/ocmb | |
parent | 3c3ab2bd4c3cbee67eb518bcce214234d8f071f3 (diff) | |
download | talos-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/ocmb')
7 files changed, 27 insertions, 5 deletions
diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_check_for_ready.C b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_check_for_ready.C index 6a7b0d894..54c67f1b3 100644 --- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_check_for_ready.C +++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_check_for_ready.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2018 */ +/* Contributors Listed Below - COPYRIGHT 2018,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -38,6 +38,7 @@ #include <exp_check_for_ready.H> #include <lib/i2c/exp_i2c.H> #include <generic/memory/lib/utils/poll.H> +#include <generic/memory/mss_git_data_helper.H> extern "C" { @@ -48,6 +49,8 @@ extern "C" /// fapi2::ReturnCode exp_check_for_ready(const fapi2::Target<fapi2::TARGET_TYPE_OCMB_CHIP>& i_target) { + mss::display_git_commit_info("exp_check_for_ready"); + // Using default parameters mss::poll_parameters l_poll_params; diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_draminit.C b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_draminit.C index 78d941db2..1a7abba82 100644 --- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_draminit.C +++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_draminit.C @@ -40,6 +40,8 @@ #include <lib/exp_draminit_utils.H> #include <lib/phy/exp_train_display.H> #include <lib/phy/exp_train_handler.H> +#include <lib/shared/exp_consts.H> +#include <generic/memory/mss_git_data_helper.H> extern "C" { @@ -50,6 +52,8 @@ extern "C" /// fapi2::ReturnCode exp_draminit(const fapi2::Target<fapi2::TARGET_TYPE_OCMB_CHIP>& i_target) { + mss::display_git_commit_info("exp_draminit"); + uint32_t l_crc = 0; user_input_msdg l_phy_params; diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_draminit_mc.C b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_draminit_mc.C index be2d4e36f..24ecaee7e 100644 --- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_draminit_mc.C +++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_draminit_mc.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2018 */ +/* Contributors Listed Below - COPYRIGHT 2018,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -40,6 +40,7 @@ #include <generic/memory/lib/utils/count_dimm.H> #include <lib/mc/exp_port.H> +#include <generic/memory/mss_git_data_helper.H> extern "C" { @@ -50,6 +51,8 @@ extern "C" /// fapi2::ReturnCode exp_draminit_mc( const fapi2::Target<fapi2::TARGET_TYPE_OCMB_CHIP>& i_target ) { + mss::display_git_commit_info("exp_draminit_mc"); + FAPI_INF("%s Start exp_draminit MC", mss::c_str(i_target)); diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_omi_init.C b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_omi_init.C index 27b9f403a..241f7e9a2 100644 --- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_omi_init.C +++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_omi_init.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2018 */ +/* Contributors Listed Below - COPYRIGHT 2018,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -38,6 +38,7 @@ #include <chips/common/utils/chipids.H> #include <mss_explorer_attribute_getters.H> #include <mss_p9a_attribute_getters.H> +#include <generic/memory/mss_git_data_helper.H> /// /// @brief Verify we know how to talk to the connected device @@ -602,6 +603,8 @@ fapi_try_exit: /// fapi2::ReturnCode exp_omi_init(const fapi2::Target<fapi2::TARGET_TYPE_OCMB_CHIP>& i_target) { + mss::display_git_commit_info("exp_omi_init"); + FAPI_DBG("Start"); FAPI_TRY(omiDeviceVerify(i_target)); FAPI_TRY(omiSetUpstreamTemplates(i_target)); diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_omi_setup.C b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_omi_setup.C index e17271c93..0dde08b88 100644 --- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_omi_setup.C +++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_omi_setup.C @@ -37,6 +37,7 @@ #include <generic/memory/lib/utils/c_str.H> #include <lib/exp_attribute_accessors_manual.H> #include <lib/omi/exp_omi_utils.H> +#include <generic/memory/mss_git_data_helper.H> extern "C" { @@ -48,6 +49,8 @@ extern "C" /// fapi2::ReturnCode exp_omi_setup( const fapi2::Target<fapi2::TARGET_TYPE_OCMB_CHIP>& i_target) { + mss::display_git_commit_info("exp_omi_setup"); + // Declares variables fapi2::buffer<uint64_t> l_data; bool l_is_enterprise = false; diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_omi_train.C b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_omi_train.C index 2865af091..3e5e81236 100644 --- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_omi_train.C +++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_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. */ /* */ /* */ @@ -38,6 +38,7 @@ #include <lib/omi/exp_omi_utils.H> #include <lib/i2c/exp_i2c.H> #include <exp_omi_train.H> +#include <generic/memory/mss_git_data_helper.H> extern "C" { @@ -49,6 +50,8 @@ extern "C" /// fapi2::ReturnCode exp_omi_train(const fapi2::Target<fapi2::TARGET_TYPE_OCMB_CHIP>& i_target) { + mss::display_git_commit_info("exp_omi_train"); + std::vector<uint8_t> l_data; // Gets the data setup diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_scominit.C b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_scominit.C index 3c6767a94..e3e01d788 100644 --- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_scominit.C +++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_scominit.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2018 */ +/* Contributors Listed Below - COPYRIGHT 2018,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -38,6 +38,7 @@ #include <generic/memory/lib/utils/count_dimm.H> #include <generic/memory/lib/utils/find.H> #include <explorer_scom.H> +#include <generic/memory/mss_git_data_helper.H> extern "C" { @@ -49,6 +50,8 @@ extern "C" /// fapi2::ReturnCode exp_scominit( const fapi2::Target<fapi2::TARGET_TYPE_OCMB_CHIP>& i_target) { + mss::display_git_commit_info("exp_scominit"); + if (mss::count_dimm(i_target) == 0) { FAPI_INF("... skipping mss_scominit %s - no DIMM ...", mss::c_str(i_target)); |