From 147e18bdbdb5ac093d06c3a7e400b20969b7a5f5 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 18 Apr 2017 20:15:59 +0200 Subject: 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 --- .../uboot-omap/patches/101-disable-thumb-beagleboard.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 package/boot/uboot-omap/patches/101-disable-thumb-beagleboard.patch (limited to 'package/boot/uboot-omap/patches/101-disable-thumb-beagleboard.patch') 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 0000000..8a3b024 --- /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 + ++/* beagleboard doesnt boot with thumb */ ++#ifdef CONFIG_SYS_THUMB_BUILD ++#undef CONFIG_SYS_THUMB_BUILD ++#endif ++ + #endif /* __CONFIG_TI_OMAP3_COMMON_H__ */ -- cgit v1.1