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/generic | |
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/generic')
-rw-r--r-- | src/import/generic/memory/mss_git_data_helper.H | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/import/generic/memory/mss_git_data_helper.H b/src/import/generic/memory/mss_git_data_helper.H index c20a62ab0..ef09834fa 100644 --- a/src/import/generic/memory/mss_git_data_helper.H +++ b/src/import/generic/memory/mss_git_data_helper.H @@ -22,3 +22,37 @@ /* permissions and limitations under the License. */ /* */ /* IBM_PROLOG_END_TAG */ +/// +/// @file mss_git_data_helper.H +/// @brief Helper file to print out the git data +/// +// *HWP HWP Owner: Andre Marin <aamarin@us.ibm.com> +// *HWP HWP Backup: Stephen Glancy <sglancy@us.ibm.com> +// *HWP Team: Memory +// *HWP Level: 3 +// *HWP Consumed by: HB:FSP + +#ifndef _MSS_GIT_DATA_HELPER_ +#define _MSS_GIT_DATA_HELPER_ + +#ifndef __HOSTBOOT_MODULE + #include <generic/memory/mss_git_data.H> +#endif + +namespace mss +{ + +/// +/// @brief Prints out the git commit data +/// @pram[in] i_print additional print information to be added to the print statement +/// +inline void display_git_commit_info(const char* i_print) +{ +#ifndef __HOSTBOOT_MODULE + FAPI_INF("%s Git commit ID: %s", i_print, GIT_COMMIT_ID.c_str()); +#endif +} + +} // ns mss + +#endif |