[U-Boot] [PATCH] 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
Signed-off-by: Adam Ford aford173@gmail.com
diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig index e334030e51..8e522f95da 100644 --- a/configs/am3517_evm_defconfig +++ b/configs/am3517_evm_defconfig @@ -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

On Sun, Oct 21, 2018 at 10:50:59AM -0500, Adam Ford wrote:
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
diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig index e334030e51..8e522f95da 100644
Applied to u-boot/master, thanks!
participants (2)
-
Adam Ford
-
Tom Rini