summaryrefslogtreecommitdiffstats
path: root/include/configs/imx6_spl.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2014-08-04 01:47:11 +0200
committerStefano Babic <sbabic@denx.de>2014-08-20 12:23:45 +0200
commit0351ef97d7f8aef0ae03f80c43f2d6d7b97174e7 (patch)
tree50f1a07ae0ea47c0aa4e005193fe26e9c5975050 /include/configs/imx6_spl.h
parentb299ab7435b016d688c0665b3776ee897e4b6e17 (diff)
downloadblackbird-obmc-uboot-0351ef97d7f8aef0ae03f80c43f2d6d7b97174e7.tar.gz
blackbird-obmc-uboot-0351ef97d7f8aef0ae03f80c43f2d6d7b97174e7.zip
ARM: mx6: Enable Thumb build for SPL
Building the SPL in Thumb mode saves roughly 30% in size of the resulting SPL binary. As the size of SPL it limited on the MX6, this helps a lot. Signed-off-by: Marek Vasut <marex@denx.de> Acked-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'include/configs/imx6_spl.h')
-rw-r--r--include/configs/imx6_spl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/imx6_spl.h b/include/configs/imx6_spl.h
index 6fdc438f95..970460d5f2 100644
--- a/include/configs/imx6_spl.h
+++ b/include/configs/imx6_spl.h
@@ -24,6 +24,7 @@
* and some padding thus 'our' max size is really 0x00908000 - 0x00918000
* or 64KB
*/
+#define CONFIG_SYS_THUMB_BUILD
#define CONFIG_SPL_LDSCRIPT "arch/arm/cpu/armv7/omap-common/u-boot-spl.lds"
#define CONFIG_SPL_TEXT_BASE 0x00908000
#define CONFIG_SPL_MAX_SIZE (64 * 1024)
OpenPOWER on IntegriCloud