[PATCH 7/7] arm: u8500: Prefer building in thumb mode by default

Stephan Gerhold stephan at gerhold.net
Sat Aug 7 15:07:24 CEST 2021


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 at gerhold.net>
---

 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index dd223ada57..28cd3c85d2 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1050,6 +1050,7 @@ config ARCH_U8500
 	imply PL01X_SERIAL
 	imply PMIC_AB8500
 	imply RTC_PL031
+	imply SYS_THUMB_BUILD
 	imply SYSRESET_SYSCON
 
 config ARCH_VERSAL
-- 
2.32.0



More information about the U-Boot mailing list