aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-omap/patches/101-disable-thumb-beagleboard.patch
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-04-18 20:15:59 +0200
committerAlexander Couzens <lynxis@fe80.eu>2017-04-24 18:03:31 +0200
commit147e18bdbdb5ac093d06c3a7e400b20969b7a5f5 (patch)
tree220d30ab2d507423c20a805d993e8cdaee7321e8 /package/boot/uboot-omap/patches/101-disable-thumb-beagleboard.patch
parente2caa74a2ffece85c302960f4994776427db4e38 (diff)
downloadupstream-147e18bdbdb5ac093d06c3a7e400b20969b7a5f5.tar.gz
upstream-147e18bdbdb5ac093d06c3a7e400b20969b7a5f5.tar.bz2
upstream-147e18bdbdb5ac093d06c3a7e400b20969b7a5f5.zip
package/uboot-omap: re-introduce patches dropped by update to v2017.01
The beagleboard doesn't boot with Thumb enabled, but without Thumb the SPL (first stage bootloader) is too big to fit into SRAM. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'package/boot/uboot-omap/patches/101-disable-thumb-beagleboard.patch')
-rw-r--r--package/boot/uboot-omap/patches/101-disable-thumb-beagleboard.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/boot/uboot-omap/patches/101-disable-thumb-beagleboard.patch b/package/boot/uboot-omap/patches/101-disable-thumb-beagleboard.patch
new file mode 100644
index 0000000000..8a3b024fe4
--- /dev/null
+++ b/package/boot/uboot-omap/patches/101-disable-thumb-beagleboard.patch
@@ -0,0 +1,14 @@
+Index: u-boot-2017.01/include/configs/ti_omap3_common.h
+===================================================================
+--- u-boot-2017.01.orig/include/configs/ti_omap3_common.h
++++ u-boot-2017.01/include/configs/ti_omap3_common.h
+@@ -80,4 +80,9 @@
+ /* Now bring in the rest of the common code. */
+ #include <configs/ti_armv7_omap.h>
+
++/* beagleboard doesnt boot with thumb */
++#ifdef CONFIG_SYS_THUMB_BUILD
++#undef CONFIG_SYS_THUMB_BUILD
++#endif
++
+ #endif /* __CONFIG_TI_OMAP3_COMMON_H__ */