mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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>
This commit is contained in:
parent
fea63e2a44
commit
9ae55ccf60
15 changed files with 45 additions and 0 deletions
|
@ -26,5 +26,8 @@
|
||||||
# This is not actually used for Blackfin boards so do not change it
|
# This is not actually used for Blackfin boards so do not change it
|
||||||
#TEXT_BASE = do-not-use-me
|
#TEXT_BASE = do-not-use-me
|
||||||
|
|
||||||
|
CFLAGS_lib_generic += -O2
|
||||||
|
CFLAGS_lzma += -O2
|
||||||
|
|
||||||
# Set some default LDR flags based on boot mode.
|
# Set some default LDR flags based on boot mode.
|
||||||
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
||||||
|
|
|
@ -26,5 +26,8 @@
|
||||||
# This is not actually used for Blackfin boards so do not change it
|
# This is not actually used for Blackfin boards so do not change it
|
||||||
#TEXT_BASE = do-not-use-me
|
#TEXT_BASE = do-not-use-me
|
||||||
|
|
||||||
|
CFLAGS_lib_generic += -O2
|
||||||
|
CFLAGS_lzma += -O2
|
||||||
|
|
||||||
# Set some default LDR flags based on boot mode.
|
# Set some default LDR flags based on boot mode.
|
||||||
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
||||||
|
|
|
@ -26,5 +26,8 @@
|
||||||
# This is not actually used for Blackfin boards so do not change it
|
# This is not actually used for Blackfin boards so do not change it
|
||||||
#TEXT_BASE = do-not-use-me
|
#TEXT_BASE = do-not-use-me
|
||||||
|
|
||||||
|
CFLAGS_lib_generic += -O2
|
||||||
|
CFLAGS_lzma += -O2
|
||||||
|
|
||||||
# Set some default LDR flags based on boot mode.
|
# Set some default LDR flags based on boot mode.
|
||||||
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
||||||
|
|
|
@ -26,6 +26,9 @@
|
||||||
# This is not actually used for Blackfin boards so do not change it
|
# This is not actually used for Blackfin boards so do not change it
|
||||||
#TEXT_BASE = do-not-use-me
|
#TEXT_BASE = do-not-use-me
|
||||||
|
|
||||||
|
CFLAGS_lib_generic += -O2
|
||||||
|
CFLAGS_lzma += -O2
|
||||||
|
|
||||||
# Set some default LDR flags based on boot mode.
|
# Set some default LDR flags based on boot mode.
|
||||||
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
|
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
|
||||||
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
||||||
|
|
|
@ -26,6 +26,9 @@
|
||||||
# This is not actually used for Blackfin boards so do not change it
|
# This is not actually used for Blackfin boards so do not change it
|
||||||
#TEXT_BASE = do-not-use-me
|
#TEXT_BASE = do-not-use-me
|
||||||
|
|
||||||
|
CFLAGS_lib_generic += -O2
|
||||||
|
CFLAGS_lzma += -O2
|
||||||
|
|
||||||
# Set some default LDR flags based on boot mode.
|
# Set some default LDR flags based on boot mode.
|
||||||
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
|
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
|
||||||
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
||||||
|
|
|
@ -26,6 +26,9 @@
|
||||||
# This is not actually used for Blackfin boards so do not change it
|
# This is not actually used for Blackfin boards so do not change it
|
||||||
#TEXT_BASE = do-not-use-me
|
#TEXT_BASE = do-not-use-me
|
||||||
|
|
||||||
|
CFLAGS_lib_generic += -O2
|
||||||
|
CFLAGS_lzma += -O2
|
||||||
|
|
||||||
# Set some default LDR flags based on boot mode.
|
# Set some default LDR flags based on boot mode.
|
||||||
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
|
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
|
||||||
LDR_FLAGS-BFIN_BOOT_UART := --port g --gpio 6
|
LDR_FLAGS-BFIN_BOOT_UART := --port g --gpio 6
|
||||||
|
|
|
@ -26,6 +26,9 @@
|
||||||
# This is not actually used for Blackfin boards so do not change it
|
# This is not actually used for Blackfin boards so do not change it
|
||||||
#TEXT_BASE = do-not-use-me
|
#TEXT_BASE = do-not-use-me
|
||||||
|
|
||||||
|
CFLAGS_lib_generic += -O2
|
||||||
|
CFLAGS_lzma += -O2
|
||||||
|
|
||||||
# Set some default LDR flags based on boot mode.
|
# Set some default LDR flags based on boot mode.
|
||||||
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
|
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
|
||||||
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
||||||
|
|
|
@ -26,6 +26,9 @@
|
||||||
# This is not actually used for Blackfin boards so do not change it
|
# This is not actually used for Blackfin boards so do not change it
|
||||||
#TEXT_BASE = do-not-use-me
|
#TEXT_BASE = do-not-use-me
|
||||||
|
|
||||||
|
CFLAGS_lib_generic += -O2
|
||||||
|
CFLAGS_lzma += -O2
|
||||||
|
|
||||||
# Set some default LDR flags based on boot mode.
|
# Set some default LDR flags based on boot mode.
|
||||||
LDR_FLAGS-BFIN_BOOT_PARA := --dma 6
|
LDR_FLAGS-BFIN_BOOT_PARA := --dma 6
|
||||||
LDR_FLAGS-BFIN_BOOT_FIFO := --dma 1
|
LDR_FLAGS-BFIN_BOOT_FIFO := --dma 1
|
||||||
|
|
|
@ -26,6 +26,9 @@
|
||||||
# This is not actually used for Blackfin boards so do not change it
|
# This is not actually used for Blackfin boards so do not change it
|
||||||
#TEXT_BASE = do-not-use-me
|
#TEXT_BASE = do-not-use-me
|
||||||
|
|
||||||
|
CFLAGS_lib_generic += -O2
|
||||||
|
CFLAGS_lzma += -O2
|
||||||
|
|
||||||
# Set some default LDR flags based on boot mode.
|
# Set some default LDR flags based on boot mode.
|
||||||
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16
|
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16
|
||||||
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
||||||
|
|
|
@ -26,5 +26,8 @@
|
||||||
# This is not actually used for Blackfin boards so do not change it
|
# This is not actually used for Blackfin boards so do not change it
|
||||||
#TEXT_BASE = do-not-use-me
|
#TEXT_BASE = do-not-use-me
|
||||||
|
|
||||||
|
CFLAGS_lib_generic += -O2
|
||||||
|
CFLAGS_lzma += -O2
|
||||||
|
|
||||||
# Set some default LDR flags based on boot mode.
|
# Set some default LDR flags based on boot mode.
|
||||||
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
||||||
|
|
|
@ -26,6 +26,9 @@
|
||||||
# This is not actually used for Blackfin boards so do not change it
|
# This is not actually used for Blackfin boards so do not change it
|
||||||
#TEXT_BASE = do-not-use-me
|
#TEXT_BASE = do-not-use-me
|
||||||
|
|
||||||
|
CFLAGS_lib_generic += -O2
|
||||||
|
CFLAGS_lzma += -O2
|
||||||
|
|
||||||
# Set some default LDR flags based on boot mode.
|
# Set some default LDR flags based on boot mode.
|
||||||
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
|
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
|
||||||
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
||||||
|
|
|
@ -26,6 +26,9 @@
|
||||||
# This is not actually used for Blackfin boards so do not change it
|
# This is not actually used for Blackfin boards so do not change it
|
||||||
#TEXT_BASE = do-not-use-me
|
#TEXT_BASE = do-not-use-me
|
||||||
|
|
||||||
|
CFLAGS_lib_generic += -O2
|
||||||
|
CFLAGS_lzma += -O2
|
||||||
|
|
||||||
# Set some default LDR flags based on boot mode.
|
# Set some default LDR flags based on boot mode.
|
||||||
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
|
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
|
||||||
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
||||||
|
|
|
@ -26,6 +26,9 @@
|
||||||
# This is not actually used for Blackfin boards so do not change it
|
# This is not actually used for Blackfin boards so do not change it
|
||||||
#TEXT_BASE = do-not-use-me
|
#TEXT_BASE = do-not-use-me
|
||||||
|
|
||||||
|
CFLAGS_lib_generic += -O2
|
||||||
|
CFLAGS_lzma += -O2
|
||||||
|
|
||||||
# Set some default LDR flags based on boot mode.
|
# Set some default LDR flags based on boot mode.
|
||||||
LDR_FLAGS-BFIN_BOOT_PARA := --dma 6
|
LDR_FLAGS-BFIN_BOOT_PARA := --dma 6
|
||||||
LDR_FLAGS-BFIN_BOOT_FIFO := --dma 1
|
LDR_FLAGS-BFIN_BOOT_FIFO := --dma 1
|
||||||
|
|
|
@ -26,6 +26,9 @@
|
||||||
# This is not actually used for Blackfin boards so do not change it
|
# This is not actually used for Blackfin boards so do not change it
|
||||||
#TEXT_BASE = do-not-use-me
|
#TEXT_BASE = do-not-use-me
|
||||||
|
|
||||||
|
CFLAGS_lib_generic += -O2
|
||||||
|
CFLAGS_lzma += -O2
|
||||||
|
|
||||||
# Set some default LDR flags based on boot mode.
|
# Set some default LDR flags based on boot mode.
|
||||||
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16
|
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16
|
||||||
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
||||||
|
|
|
@ -26,6 +26,9 @@
|
||||||
# This is not actually used for Blackfin boards so do not change it
|
# This is not actually used for Blackfin boards so do not change it
|
||||||
#TEXT_BASE = do-not-use-me
|
#TEXT_BASE = do-not-use-me
|
||||||
|
|
||||||
|
CFLAGS_lib_generic += -O2
|
||||||
|
CFLAGS_lzma += -O2
|
||||||
|
|
||||||
# Set some default LDR flags based on boot mode.
|
# Set some default LDR flags based on boot mode.
|
||||||
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
|
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
|
||||||
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
|
||||||
|
|
Loading…
Reference in a new issue