diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2013-09-10 13:07:32 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-09-10 20:29:21 +0000 |
commit | 60d8f51800a94d7603639e8b694e0ea476706412 (patch) | |
tree | 13bc1f3589ed23fba146511add4e8bcfcc1ebdb8 | |
parent | 5446c88186d3ada16cf62f4b9c45e3af325fee93 (diff) | |
download | vboot-firmware-pit-4482.B.tar.gz |
Unroll loops for all firmware platformsfirmware-pit-4482.B
Unrolling loops shaves 20ms off pit ro boot time. This option was
enabled before but inadvertently got disabled for ARM.
BUG=chrome-os-partner:2115
BRANCH=pit
TEST=manual
Build for pit, see that code size increases slignly but RO boot time
drops by about 24ms.
Original size:
text data bss dec hex filename
422482 17580 334796 774858 bd2ca b/chromeos_peach/u-boot
14938 1111 0 16049 3eb1 b/chromeos_peach/spl/u-boot-spl
New size:
429322 17580 334788 781690 bed7a b/chromeos_peach/u-boot
14938 1111 0 16049 3eb1 b/chromeos_peach/spl/u-boot-spl
Change-Id: I1ded0ed3369de9d72220112b92c322777d1ba2d5
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/168803
Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -626,10 +626,12 @@ ${FWLIB_OBJS}: CFLAGS += -DTPM_BLOCKING_CONTINUESELFTEST # CFLAGS += -DTPM_MANUAL_SELFTEST -ifeq (${FIRMWARE_ARCH},i386) +ifneq (${FIRMWARE_ARCH},) # Unrolling loops in cryptolib makes it faster ${FWLIB_OBJS}: CFLAGS += -DUNROLL_LOOPS +endif +ifeq (${FIRMWARE_ARCH},i386) # Workaround for coreboot on x86, which will power off asynchronously # without giving us a chance to react. This is not an example of the Right # Way to do things. See chrome-os-partner:7689, and the commit message |