aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2023-11-04 22:27:42 -0400
committerTom Rini <trini@konsulko.com>2023-11-16 13:48:58 -0500
commita9a73799731807cca117d234c4338b710db3cfdd (patch)
treee7dbab5211f49e15bd0397a84248836483c53946 /arch/arm/Kconfig
parentbe0724601a9dd6aebca04337b1299edd126bbb4e (diff)
downloadu-boot-a9a73799731807cca117d234c4338b710db3cfdd.zip
u-boot-a9a73799731807cca117d234c4338b710db3cfdd.tar.gz
u-boot-a9a73799731807cca117d234c4338b710db3cfdd.tar.bz2
arm: Enable SYS_THUMB_BUILD on AT91
Several AT91 boards are quite close to their SPL size limit. For example, sama5d27_wlsom1_ek_mmc is just 173 bytes short of its limit and doesn't even fit with older GCCs. All AT91 processors should have thumb support. Enable SYS_THUMB_BUILD. This shrinks SPL by around 30%. Signed-off-by: Sean Anderson <seanga2@gmail.com>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index a6f0018..1fd7aac 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -568,6 +568,7 @@ config ARCH_AT91
select GPIO_EXTRA_HEADER
select SPL_BOARD_INIT if SPL && !TARGET_SMARTWEB
select SPL_SEPARATE_BSS if SPL
+ imply SYS_THUMB_BUILD
config ARCH_DAVINCI
bool "TI DaVinci"