[U-Boot] [PATCH] ARM: omapl138_lcdk: Shrink code size by building with Thumb
Tom Rini
trini at konsulko.com
Thu Dec 5 23:08:23 CET 2019
On Sun, Nov 10, 2019 at 06:33:40AM -0600, Adam Ford wrote:
> SPL has limited available resources, and the performance between
> ARM and Thumb isn't that significant.
>
> This patch builds using Thumb instruction set to reduce the code
> size by nearly 6K.
>
> Original:
> text data bss dec hex filename
> 26526 4004 1376 31906 7ca2 spl/u-boot-spl
>
> Thumb:
>
> text data bss dec hex filename
> 20232 4004 1376 25612 640c spl/u-boot-spl
>
> Signed-off-by: Adam Ford <aford173 at gmail.com>
> Tested-by: Bartosz Golaszewski <bgolaszewski at baylibre.com>
> Reviewed-by: Bartosz Golaszewski <bgolaszewski at baylibre.com>
>
> diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
> index 9821df9884..16287a4ac2 100644
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20191205/68bfb519/attachment.sig>
More information about the U-Boot
mailing list