]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: mx6: Enable Thumb build for SPL
authorMarek Vasut <marex@denx.de>
Sun, 3 Aug 2014 23:47:11 +0000 (01:47 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 20 Aug 2014 10:23:45 +0000 (12:23 +0200)
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>
include/configs/imx6_spl.h

index 6fdc438f951800d7f7b745bd01b6021d663ef322..970460d5f22030a59b22db9b7e9e1c4bdf1aa9b7 100644 (file)
@@ -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)