From: Stefan Roese <sr@denx.de>
Date: Wed, 2 Sep 2015 09:11:00 +0000 (+0200)
Subject: arm: spear: Enable THUMB mode on x600 board
X-Git-Tag: v2025.01-rc5-pxa1908~11757
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/index.html?a=commitdiff_plain;h=9b6aa00dbc7e946171c2c8ddae531ed83fc8e9e7;p=u-boot.git

arm: spear: Enable THUMB mode on x600 board

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>
---

diff --git a/include/configs/x600.h b/include/configs/x600.h
index f672485d69..73ba67c3e9 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>