Message ID | 1422619129-23352-3-git-send-email-siarhei.siamashka@gmail.com |
---|---|
State | Superseded |
Delegated to: | Hans de Goede |
Headers | show |
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 6cfd7e1..f570d9c 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -18,10 +18,8 @@ */ #define CONFIG_SUNXI /* sunxi family */ #ifdef CONFIG_SPL_BUILD -#ifndef CONFIG_SPL_FEL #define CONFIG_SYS_THUMB_BUILD /* Thumbs mode to save space in SPL */ #endif -#endif #include <asm/arch/cpu.h> /* get chip and board defs */
With the FEL entry point converted to assembly code (which uses ARM mode), the rest of the SPL can be now compiled in Thumb2 mode safely. This provides a significant code size reduction: == before == text data bss dec hex filename 13938 440 28 14406 3846 spl/u-boot-spl == after == text data bss dec hex filename 10918 440 28 11386 2c7a spl/u-boot-spl Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> --- include/configs/sunxi-common.h | 2 -- 1 file changed, 2 deletions(-)