From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/4] ARM: mx6: Enable Thumb build for SPL
Date: Mon, 4 Aug 2014 01:47:11 +0200 [thread overview]
Message-ID: <1407109631-5470-4-git-send-email-marex@denx.de> (raw)
In-Reply-To: <1407109631-5470-1-git-send-email-marex@denx.de>
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>
---
include/configs/imx6_spl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/imx6_spl.h b/include/configs/imx6_spl.h
index 6fdc438..970460d 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)
--
2.0.1
next prev parent reply other threads:[~2014-08-03 23:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-03 23:47 [U-Boot] [PATCH 1/4] ARM: mx5: Fix CHSCCDR name Marek Vasut
2014-08-03 23:47 ` [U-Boot] [PATCH 2/4] ARM: mx6: Prevent overflow in DRAM size detection Marek Vasut
2014-08-04 4:50 ` Tim Harvey
2014-08-20 10:22 ` Stefano Babic
2014-08-03 23:47 ` [U-Boot] [PATCH 3/4] ARM: mx6: Handle the MMDCx_MDCTL COL field caprices Marek Vasut
2014-08-20 10:27 ` Stefano Babic
2014-08-03 23:47 ` Marek Vasut [this message]
2014-08-06 9:23 ` [U-Boot] [PATCH 4/4] ARM: mx6: Enable Thumb build for SPL Tim Harvey
2014-08-20 10:28 ` Stefano Babic
2014-08-20 10:21 ` [U-Boot] [PATCH 1/4] ARM: mx5: Fix CHSCCDR name Stefano Babic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1407109631-5470-4-git-send-email-marex@denx.de \
--to=marex@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.