]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ARM: am3517_evm: Build for Thumb
authorAdam Ford <aford173@gmail.com>
Sun, 21 Oct 2018 15:50:59 +0000 (10:50 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 16 Nov 2018 18:34:37 +0000 (13:34 -0500)
In an effort to free up more resources in SPL and U-Boot, building
for Thumb shrinks the code side.

Before:

  text    data     bss     dec     hex filename
  685588  25808  275724  987120   f0ff0 u-boot

  text    data     bss     dec     hex filename
  55324     417   67460  123201   1e141 spl/u-boot-spl

After:

   text    data     bss     dec     hex filename
 515502   25808  275708  817018   c777a u-boot

   text    data     bss     dec     hex filename
  42910     417   67460  110787   1b0c3 spl/u-boot-spl

Signed-off-by: Adam Ford <aford173@gmail.com>
configs/am3517_evm_defconfig

index 882163f8c13afeb8cb8760d361338d49a5b0fc74..3a6010aeaeadb0b218bdb9fbafe5268197494608 100644 (file)
@@ -1,5 +1,4 @@
 CONFIG_ARM=y
-# CONFIG_SYS_THUMB_BUILD is not set
 CONFIG_ARCH_OMAP2PLUS=y
 CONFIG_SYS_TEXT_BASE=0x80100000
 CONFIG_TI_COMMON_CMD_OPTIONS=y