From cd1e5c91e4a15ca933c699553ece9b841825ac03 Mon Sep 17 00:00:00 2001 From: Dean Sanner Date: Mon, 17 Jun 2019 07:14:35 -0500 Subject: 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: Ib140e6f07b112ae95a901f49b75416ef91c94a9d Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79059 Reviewed-by: Nicholas E Bofferding Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Zachary Clark Reviewed-by: Michael Baiocchi Reviewed-by: William G Hoffa --- src/usr/fapi2/test/fapi2GetChildrenTest.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usr/fapi2/test') diff --git a/src/usr/fapi2/test/fapi2GetChildrenTest.H b/src/usr/fapi2/test/fapi2GetChildrenTest.H index 9eb595dcd..c0a1e5eab 100644 --- a/src/usr/fapi2/test/fapi2GetChildrenTest.H +++ b/src/usr/fapi2/test/fapi2GetChildrenTest.H @@ -706,7 +706,7 @@ void test_fapi2GetChildren() TARGET_STATE_PRESENT).size(); } }, }; - pervasiveChildTestRec* ptr; + pervasiveChildTestRec* ptr = nullptr; int numPervTests = 0; TARGETING::ATTR_MODEL_type l_model = l_proc->getAttr(); if (l_model == TARGETING::MODEL_NIMBUS) -- cgit v1.2.1