diff options
author | Dean Sanner <dsanner@us.ibm.com> | 2019-06-17 07:14:35 -0500 |
---|---|---|
committer | William G Hoffa <wghoffa@us.ibm.com> | 2019-10-03 10:55:14 -0500 |
commit | c4e7bcba07ccefc7f8094172def49a7e2a2cedcc (patch) | |
tree | be05692eff8ea2b49258e22e2b3ab22c0ca1c007 /src/usr/isteps | |
parent | ae388288d7cf86e7cc3c0370b6d0ca3aa1d9e9a3 (diff) | |
download | talos-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/isteps')
-rw-r--r-- | src/usr/isteps/istep16/call_mss_scrub.C | 2 | ||||
-rw-r--r-- | src/usr/isteps/tod/runtime/rt_todintf.C | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/isteps/istep16/call_mss_scrub.C b/src/usr/isteps/istep16/call_mss_scrub.C index 750a85c01..0d4db2acd 100644 --- a/src/usr/isteps/istep16/call_mss_scrub.C +++ b/src/usr/isteps/istep16/call_mss_scrub.C @@ -73,7 +73,7 @@ void* call_mss_scrub (void *io_pArgs) // Determine which target type runs the maintenance commands. TARGETING::MODEL masterProcModel = masterProc->getAttr<ATTR_MODEL>(); - TARGETING::TYPE maintTrgtType; + TARGETING::TYPE maintTrgtType = TYPE_MBA; switch ( masterProcModel ) { case MODEL_CUMULUS: maintTrgtType = TYPE_MBA; break; diff --git a/src/usr/isteps/tod/runtime/rt_todintf.C b/src/usr/isteps/tod/runtime/rt_todintf.C index cc0bdb7cf..e5c537cd3 100644 --- a/src/usr/isteps/tod/runtime/rt_todintf.C +++ b/src/usr/isteps/tod/runtime/rt_todintf.C @@ -31,7 +31,7 @@ #include <runtime/interface.h> // g_hostInterfaces #include <util/runtime/rt_fwreq_helper.H> // firmware_request_helper #include <tod_init_reasoncodes.H> // TOD_RT_TOPOLOGY_RESET_BACKUP, etc -#include <errlmanager_common.C> // errlCommit +#include <errl/errlentry.H> using namespace ERRORLOG; |