uboot-omap: enable thumb for overo
[oweals/openwrt.git] / package / boot / uboot-omap / patches / 104-omap3-overo-enable-thumb.patch
1 Index: u-boot-2017.01/include/configs/omap3_overo.h
2 ===================================================================
3 --- u-boot-2017.01.orig/include/configs/omap3_overo.h
4 +++ u-boot-2017.01/include/configs/omap3_overo.h
5 @@ -11,6 +11,13 @@
6  #define CONFIG_NAND
7  
8  #include <configs/ti_omap3_common.h>
9 +
10 +/* try to enable thumb - unknown if it's working
11 + * but otherwise it's too big for spl */
12 +#ifndef CONFIG_SYS_THUMB_BUILD
13 +#define CONFIG_SYS_THUMB_BUILD
14 +#endif
15 +
16  /*
17   * We are only ever GP parts and will utilize all of the "downloaded image"
18   * area in SRAM which starts at 0x40200000 and ends at 0x4020FFFF (64KB).