diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-06-14 22:26:31 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-06-15 13:30:19 -0400 |
commit | 9ae55ccf601de7a5b75eb418f3fc3d5eca92c106 (patch) | |
tree | 0cfed77c253e18ba6184faee9726f09470a16aee /board/cm-bf561/config.mk | |
parent | fea63e2a44f0db51d2e39ee7793e8c6d7f3cf5d4 (diff) | |
download | u-boot-imx-9ae55ccf601de7a5b75eb418f3fc3d5eca92c106.zip u-boot-imx-9ae55ccf601de7a5b75eb418f3fc3d5eca92c106.tar.gz u-boot-imx-9ae55ccf601de7a5b75eb418f3fc3d5eca92c106.tar.bz2 |
Blackfin: enable -O2 in lib_generic/ for ADI/Bluetechnix boards
Building the compression code in lib_generic/ with -O2 rather than -Os
gives a nice speed boost without too much code size increase.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/cm-bf561/config.mk')
-rw-r--r-- | board/cm-bf561/config.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/cm-bf561/config.mk b/board/cm-bf561/config.mk index 77c888b..cfad21a 100644 --- a/board/cm-bf561/config.mk +++ b/board/cm-bf561/config.mk @@ -26,6 +26,9 @@ # This is not actually used for Blackfin boards so do not change it #TEXT_BASE = do-not-use-me +CFLAGS_lib_generic += -O2 +CFLAGS_lzma += -O2 + # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE)) |