]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
arm: spear: Enable THUMB mode on x600 board
authorStefan Roese <sr@denx.de>
Wed, 2 Sep 2015 09:11:00 +0000 (11:11 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 11 Sep 2015 21:15:15 +0000 (17:15 -0400)
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

index f672485d69da9c122f02f8284a2eb42e0246b2a2..73ba67c3e910d977f4e2ff252ccca2b1b2b39810 100644 (file)
@@ -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>