]> git.sur5r.net Git - u-boot/commitdiff
sunxi: Enable THUMB build for the U-Boot binary
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 19 Oct 2017 09:49:29 +0000 (11:49 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 25 Oct 2017 08:05:06 +0000 (10:05 +0200)
We start to get to the limit of our main U-Boot binary size (with some
boards even crossing it). Enable its build using thumb2 to get some extra
room.

Suggested-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/Kconfig

index 64e0ee43f1126cecde6e713d50f887b889a2564b..83b7aa51dc2c22b5c365cd8091daed9ae1e1186a 100644 (file)
@@ -698,6 +698,7 @@ config ARCH_SUNXI
        select SPL_SYS_MALLOC_SIMPLE if SPL
        select SYS_NS16550
        select SPL_SYS_THUMB_BUILD if !ARM64
+       select SYS_THUMB_BUILD if !ARM64
        select USB if DISTRO_DEFAULTS
        select USB_STORAGE if DISTRO_DEFAULTS
        select USB_KEYBOARD if DISTRO_DEFAULTS