summaryrefslogtreecommitdiffstats
path: root/src/usr/errl/runtime
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2019-06-17 07:14:35 -0500
committerWilliam G Hoffa <wghoffa@us.ibm.com>2019-10-03 10:55:14 -0500
commitc4e7bcba07ccefc7f8094172def49a7e2a2cedcc (patch)
treebe05692eff8ea2b49258e22e2b3ab22c0ca1c007 /src/usr/errl/runtime
parentae388288d7cf86e7cc3c0370b6d0ca3aa1d9e9a3 (diff)
downloadtalos-hostboot-c4e7bcba07ccefc7f8094172def49a7e2a2cedcc.tar.gz
talos-hostboot-c4e7bcba07ccefc7f8094172def49a7e2a2cedcc.zip
Compile Hostboot with -Os
Hostboot currently spends a significant percentage of time loading data from PNOR across a relatively slow LPC bus. This commit enables compilation of Hostboot with -Os, optimized for space to reduce the amount of data required to be transferred across the LPC bus Rough measurements show a ~30% size reduction of the hostboot image and a ~10% reduction (improvement) in boot time Change-Id: Ib73863019595a24cc7d10e924bc5c92cd64af1ed Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/84436 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: William G Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/errl/runtime')
-rw-r--r--src/usr/errl/runtime/test/test_runtimeDeconfig.H12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/usr/errl/runtime/test/test_runtimeDeconfig.H b/src/usr/errl/runtime/test/test_runtimeDeconfig.H
index a9ba1ecbd..0cf1a0a52 100644
--- a/src/usr/errl/runtime/test/test_runtimeDeconfig.H
+++ b/src/usr/errl/runtime/test/test_runtimeDeconfig.H
@@ -51,8 +51,8 @@ class deconfigureTargetAtRuntimeTest : public CxxTest::TestSuite
// pass in a null target pointer
TARGETING::Target * l_target = nullptr;
- errlHndl_t l_errl =
- HWAS::theDeconfigGard().deconfigureTargetAtRuntime(
+ errlHndl_t l_errl = nullptr;
+ l_errl = HWAS::theDeconfigGard().deconfigureTargetAtRuntime(
l_target,
HWAS::DeconfigGard::FULLY_AT_RUNTIME,
l_errl);
@@ -118,8 +118,8 @@ class deconfigureTargetAtRuntimeTest : public CxxTest::TestSuite
l_target = l_cores.at(0);
- errlHndl_t l_errl =
- HWAS::theDeconfigGard().deconfigureTargetAtRuntime(
+ errlHndl_t l_errl = nullptr;
+ l_errl = HWAS::theDeconfigGard().deconfigureTargetAtRuntime(
l_target,
HWAS::DeconfigGard::SPEC_DECONFIG,
l_errl);
@@ -179,8 +179,8 @@ class deconfigureTargetAtRuntimeTest : public CxxTest::TestSuite
TARGETING::Target * l_target = l_proc.at(0);
- errlHndl_t l_errl =
- HWAS::theDeconfigGard().deconfigureTargetAtRuntime(
+ errlHndl_t l_errl = nullptr;
+ l_errl = HWAS::theDeconfigGard().deconfigureTargetAtRuntime(
l_target,
HWAS::DeconfigGard::FULLY_AT_RUNTIME,
l_errl);
OpenPOWER on IntegriCloud