aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-omap/patches/101-disable-thumb-omap3.patch
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-04-28 14:34:46 +0200
committerAlexander Couzens <lynxis@fe80.eu>2017-04-30 12:19:07 +0200
commit21c2e93e67bc44c1b72dbbe2dc9f9451d44f81a0 (patch)
tree151b054b3951f029f14886fd1c27aeb20b3c53b8 /package/boot/uboot-omap/patches/101-disable-thumb-omap3.patch
parentca8988614c9b42889357e54f37391a0d9676a22b (diff)
downloadupstream-21c2e93e67bc44c1b72dbbe2dc9f9451d44f81a0.tar.gz
upstream-21c2e93e67bc44c1b72dbbe2dc9f9451d44f81a0.tar.bz2
upstream-21c2e93e67bc44c1b72dbbe2dc9f9451d44f81a0.zip
uboot-omap: rename patch to 101-disable-thumb-omap3.patch
It's disabling thumb for the whole omap3 family. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'package/boot/uboot-omap/patches/101-disable-thumb-omap3.patch')
-rw-r--r--package/boot/uboot-omap/patches/101-disable-thumb-omap3.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/boot/uboot-omap/patches/101-disable-thumb-omap3.patch b/package/boot/uboot-omap/patches/101-disable-thumb-omap3.patch
new file mode 100644
index 0000000000..8a3b024fe4
--- /dev/null
+++ b/package/boot/uboot-omap/patches/101-disable-thumb-omap3.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__ */