uboot-omap: rename patch to 101-disable-thumb-omap3.patch
authorAlexander Couzens <lynxis@fe80.eu>
Fri, 28 Apr 2017 12:34:46 +0000 (14:34 +0200)
committerAlexander Couzens <lynxis@fe80.eu>
Sun, 30 Apr 2017 10:19:07 +0000 (12:19 +0200)
It's disabling thumb for the whole omap3 family.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
package/boot/uboot-omap/patches/101-disable-thumb-beagleboard.patch [deleted file]
package/boot/uboot-omap/patches/101-disable-thumb-omap3.patch [new file with mode: 0644]

diff --git a/package/boot/uboot-omap/patches/101-disable-thumb-beagleboard.patch b/package/boot/uboot-omap/patches/101-disable-thumb-beagleboard.patch
deleted file mode 100644 (file)
index 8a3b024..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-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__ */
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 (file)
index 0000000..8a3b024
--- /dev/null
@@ -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__ */