ARM: omapl138_lcdk: Shrink code size by building with Thumb
authorAdam Ford <aford173@gmail.com>
Sun, 10 Nov 2019 12:33:40 +0000 (06:33 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 5 Dec 2019 15:28:39 +0000 (10:28 -0500)
commit8cc738b9fcb5c1b140c721cb4f994ceb185c4c0c
treea05dc64caed8ae10c8cbfa491994374d17206858
parent9f67b56772c2c25050fadf0766174c3c35a49995
ARM: omapl138_lcdk: Shrink code size by building with Thumb

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@gmail.com>
Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
configs/omapl138_lcdk_defconfig