]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:50:45 +0000 (13:50 +0200)
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