]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: u8500: Prefer building in thumb mode by default
authorStephan Gerhold <stephan@gerhold.net>
Sat, 7 Aug 2021 13:07:24 +0000 (15:07 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 1 Sep 2021 23:25:37 +0000 (19:25 -0400)
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>
arch/arm/Kconfig

index 18fcc7a124637c0c2c6626fc132d5ae56a068717..c815ad461a8ccff9ae19c72b198169460d4fd743 100644 (file)
@@ -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