diff mbox

[U-Boot,4/4] arm: spear: Enable THUMB mode on x600 board

Message ID 1441185060-18197-4-git-send-email-sr@denx.de
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Stefan Roese Sept. 2, 2015, 9:11 a.m. UTC
To reduce the size of the U-Boot image on the x600 board, lets enable
the THUMB mode. This reduces the overall size to less than 0x6000
bytes. Fitting it again in the onboard NOR flash.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
---
 include/configs/x600.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini Sept. 12, 2015, 12:50 p.m. UTC | #1
On Wed, Sep 02, 2015 at 11:11:00AM +0200, Stefan Roese wrote:

> To reduce the size of the U-Boot image on the x600 board, lets enable
> the THUMB mode. This reduces the overall size to less than 0x6000
> bytes. Fitting it again in the onboard NOR flash.
> 
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/configs/x600.h b/include/configs/x600.h
index f672485..73ba67c 100644
--- a/include/configs/x600.h
+++ b/include/configs/x600.h
@@ -17,6 +17,7 @@ 
 #define CONFIG_SPEAR600				/* SPEAr600 SoC */
 #define CONFIG_X600				/* on X600 board */
 #define CONFIG_SYS_GENERIC_BOARD
+#define CONFIG_SYS_THUMB_BUILD
 
 #include <asm/arch/hardware.h>