diff mbox series

[U-Boot] ARM: am3517_evm: Build for Thumb

Message ID 20181021155059.14210-1-aford173@gmail.com
State Accepted
Commit 52ccb2e6d32cc2181666b56a8b61d76e2e9f6522
Delegated to: Tom Rini
Headers show
Series [U-Boot] ARM: am3517_evm: Build for Thumb | expand

Commit Message

Adam Ford Oct. 21, 2018, 3:50 p.m. UTC
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>

Comments

Tom Rini Nov. 17, 2018, 1:32 p.m. UTC | #1
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!
diff mbox series

Patch

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