diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2017-09-11 15:44:40 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-09-14 22:20:27 -0400 |
commit | 16887e07aa54b19b64f8c754d41b6076fe72464f (patch) | |
tree | da8e2cdcc433a24543e24f6d75dbe50cf901b4f7 /src/usr/targeting | |
parent | 78f8e1a32cacf49df7b55cddfaac36191f04a26c (diff) | |
download | talos-hostboot-16887e07aa54b19b64f8c754d41b6076fe72464f.tar.gz talos-hostboot-16887e07aa54b19b64f8c754d41b6076fe72464f.zip |
Set flag to say TARGETING is loaded in HBRT
Enable the flag that indicates the targeting library is loaded
inside the hostboot runtime context. This will enable the serial
and part number to be added to error logs if available.
Change-Id: I136ccf4e379a4311942c378d434d350d16a4d192
RTC: 175653
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46050
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting')
-rw-r--r-- | src/usr/targeting/runtime/start_rt.C | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/usr/targeting/runtime/start_rt.C b/src/usr/targeting/runtime/start_rt.C index f56685fc0..d2c3d7ffa 100644 --- a/src/usr/targeting/runtime/start_rt.C +++ b/src/usr/targeting/runtime/start_rt.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2017 */ +/* [+] 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. */ @@ -23,6 +25,7 @@ #include <targeting/common/commontargeting.H> #include <targeting/common/targetservice.H> #include <targeting/attrrp.H> +#include <util/misc.H> namespace TARGETING { @@ -40,5 +43,8 @@ namespace TARGETING TargetService& l_targetService = targetService(); (void)l_targetService.init(); + + // set global that TARG is ready + Util::setIsTargetingLoaded(); } } |