]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: ti: armv7_common: enable Thumb mode for all
authorNishanth Menon <nm@ti.com>
Wed, 22 Jul 2015 23:05:42 +0000 (18:05 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 27 Jul 2015 19:02:17 +0000 (15:02 -0400)
Commit bd2c4522c26d5 ("ti: armv7: enable EXT support in SPL (using
ti_armv7_common.h)") enabled thumb mode only for SPL builds, however,
All TI armv7 platforms do support thumb, and there is no reason why the
space savings cannot be exploited for u-boot as well.

Reported-by: Murali Karicheri <m-karicheri2@ti.com>
Suggested-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/configs/ti_armv7_common.h

index 424f233d42171e660bd418dc1566f00fb8807313..7bc2d6e83668a8b98ade5b364097b605330dc4eb 100644 (file)
 #define CONFIG_SPL_EXT_SUPPORT
 #endif
 
-#ifdef CONFIG_SPL_BUILD
-#define CONFIG_SYS_THUMB_BUILD /* Thumbs mode to save space in SPL */
-#endif
+#define CONFIG_SYS_THUMB_BUILD
 
 /* General parts of the framework, required. */
 #define CONFIG_SPL_I2C_SUPPORT