diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2017-04-28 14:27:45 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2017-04-30 12:17:30 +0200 |
commit | ca8988614c9b42889357e54f37391a0d9676a22b (patch) | |
tree | 7aa8ffe5255dac9abeff61c8120d4e9e1c118529 /package/boot | |
parent | 3ddc1914ba2aa6b9d93528e05c051ce44ef7f8a3 (diff) | |
download | upstream-ca8988614c9b42889357e54f37391a0d9676a22b.tar.gz upstream-ca8988614c9b42889357e54f37391a0d9676a22b.tar.bz2 upstream-ca8988614c9b42889357e54f37391a0d9676a22b.zip |
uboot-omap: enable thumb for overo
Even it's unknown if it's booting with thumb, because the lack of hardware.
Enable it for now, so the build succeed, because without thumb it can not fit
into spl.
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'package/boot')
-rw-r--r-- | package/boot/uboot-omap/patches/104-omap3-overo-enable-thumb.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/boot/uboot-omap/patches/104-omap3-overo-enable-thumb.patch b/package/boot/uboot-omap/patches/104-omap3-overo-enable-thumb.patch new file mode 100644 index 0000000000..ca928c996c --- /dev/null +++ b/package/boot/uboot-omap/patches/104-omap3-overo-enable-thumb.patch @@ -0,0 +1,18 @@ +Index: u-boot-2017.01/include/configs/omap3_overo.h +=================================================================== +--- u-boot-2017.01.orig/include/configs/omap3_overo.h ++++ u-boot-2017.01/include/configs/omap3_overo.h +@@ -11,6 +11,13 @@ + #define CONFIG_NAND + + #include <configs/ti_omap3_common.h> ++ ++/* try to enable thumb - unknown if it's working ++ * but otherwise it's too big for spl */ ++#ifndef CONFIG_SYS_THUMB_BUILD ++#define CONFIG_SYS_THUMB_BUILD ++#endif ++ + /* + * We are only ever GP parts and will utilize all of the "downloaded image" + * area in SRAM which starts at 0x40200000 and ends at 0x4020FFFF (64KB). |