Skip to contentSkip to conversation

ARM: am3517_evm: Build for Thumb

PATCH In review Adam Ford 2 participants 2 messages Oct 21, 2018 – Nov 17, 2018

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 ARM: am3517_evm: Build for Thumb

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

configs/am3517_evm_defconfig +0 -1
index e334030e51..8e522f95da 100644
@@ -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
Signature · 1 line
2.17.1
#1 lore raw

configs/am3517_evm_defconfig

Quoted 23 lines · Adam Ford

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

configs/am3517_evm_defconfig +0 -0
index e334030e51..8e522f95da 100644

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181117/d01a372c/attachment.sig>