Makefile: Define UNROLL_LOOPS to save ~50ms of boot time
TEST=Able to save ~50ms of bootime with this CL Without this CL 1100:finished vboot kernel verification 802,443 (148,108) With this CL 1100:finished vboot kernel verification 775,914 (102,601) Signed-off-by: Subrata Banik <subrata.banik@intel.com> Change-Id: I96bea22667ebf45b446a26d84de96e52f3d28aa0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1919094 Reviewed-by: Julius Werner <jwerner@chromium.org> Commit-Queue: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
1c4dbaa084
commit
7dedd9a888
2
Makefile
2
Makefile
|
@ -854,7 +854,7 @@ ${TLCL_OBJS}: CFLAGS += -DTPM_BLOCKING_CONTINUESELFTEST
|
|||
|
||||
# CFLAGS += -DTPM_MANUAL_SELFTEST
|
||||
|
||||
ifeq (${FIRMWARE_ARCH},i386)
|
||||
ifneq ($(filter $(FIRMWARE_ARCH),x86 x86_64),)
|
||||
# Unrolling loops in cryptolib makes it faster
|
||||
${FWLIB_OBJS}: CFLAGS += -DUNROLL_LOOPS
|
||||
${FWLIB2X_OBJS}: CFLAGS += -DUNROLL_LOOPS
|
||||
|
|
Loading…
Reference in New Issue