stm32mp1: remove useless compilation flags
authorYann Gautier <yann.gautier@st.com>
Thu, 13 Dec 2018 14:01:53 +0000 (15:01 +0100)
committerYann Gautier <yann.gautier@st.com>
Thu, 13 Dec 2018 14:01:53 +0000 (15:01 +0100)
On AARCH32, thumb is used by default, no need to redefine it.
As all our binaries are compiled with thumb, interwork is not needed.
The binaries compiled with or without those flags are the same,
except of course for the date.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
plat/st/stm32mp1/platform.mk

index 545b140d8828d672a7231617b8b8bb7662b18093..8890e822545bd515f0e2eb9cd9a039fc6a5dc5d6 100644 (file)
@@ -83,10 +83,6 @@ BL2_SOURCES          +=      common/desc_image_load.c                                \
                                plat/st/stm32mp1/plat_bl2_mem_params_desc.c             \
                                plat/st/stm32mp1/plat_image_load.c
 
-# For memory footprint optimization, build with thumb and interwork support
-ASFLAGS                        +=      -mthumb -mthumb-interwork
-TF_CFLAGS              +=      -mthumb -mthumb-interwork
-
 # Macros and rules to build TF binary
 STM32_TF_ELF_LDFLAGS   :=      --hash-style=gnu --as-needed
 STM32_DT_BASENAME      :=      $(STM32_DTB_FILE_NAME:.dtb=)