summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Gerhold <stephan@gerhold.net>2021-08-07 15:07:24 +0200
committerTom Rini <trini@konsulko.com>2021-09-01 19:25:37 -0400
commit8956854d4839341b61b70aae1f6df53d05084fb2 (patch)
tree02af3b1551b64dbc8607cd3a854c4eec322b5aa6
parentf629895fa34b7ba12572c9185209e2413a758208 (diff)
downloadu-boot-8956854d4839341b61b70aae1f6df53d05084fb2.tar.gz
arm: u8500: Prefer building in thumb mode by default
Enabling CONFIG_SYS_THUMB_BUILD produces a significantly smaller U-Boot binary (250 KiB vs 320 KiB) that still seems to be fully functional. Make use of that by default but keep it as "imply" so it can be disabled for testing in case this causes trouble for someone. Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 18fcc7a124..c815ad461a 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1062,6 +1062,7 @@ config ARCH_U8500
imply PL01X_SERIAL
imply PMIC_AB8500
imply RTC_PL031
+ imply SYS_THUMB_BUILD
imply SYSRESET_SYSCON
config ARCH_VERSAL