From c4e7bcba07ccefc7f8094172def49a7e2a2cedcc 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: Ib73863019595a24cc7d10e924bc5c92cd64af1ed Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/84436 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: William G Hoffa --- src/makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/makefile') diff --git a/src/makefile b/src/makefile index bd80d63bf..f8343555b 100644 --- a/src/makefile +++ b/src/makefile @@ -237,7 +237,8 @@ TESTCASE_MODULES += testscan TESTCASE_MODULES += testsecureboot TESTCASE_MODULES += testfsiscom TESTCASE_MODULES += testlpc -TESTCASE_MODULES += $(if $(CONFIG_HTMGT),testhtmgt) +#TODO: RTC 213102 to properly add & execute HTMGT test +#TESTCASE_MODULES += $(if $(CONFIG_HTMGT),testhtmgt) TESTCASE_MODULES += testinitservice TESTCASE_MODULES += testfsi TESTCASE_MODULES += testibscom -- cgit v1.2.1