Commit 7f2f44da4819144f13b22b5c5471d43025919fa3

Authored by Nishanth Menon
Committed by Tom Rini
1 parent 9a0f4004ca

configs: ti: armv7_common: enable Thumb mode for all

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>

Showing 1 changed file with 1 additions and 3 deletions Side-by-side Diff

include/configs/ti_armv7_common.h
... ... @@ -231,9 +231,7 @@
231 231 #define CONFIG_SPL_EXT_SUPPORT
232 232 #endif
233 233  
234   -#ifdef CONFIG_SPL_BUILD
235   -#define CONFIG_SYS_THUMB_BUILD /* Thumbs mode to save space in SPL */
236   -#endif
  234 +#define CONFIG_SYS_THUMB_BUILD
237 235  
238 236 /* General parts of the framework, required. */
239 237 #define CONFIG_SPL_I2C_SUPPORT