From: Marek Vasut <marex@denx.de>
Date: Sat, 11 Sep 2021 22:39:59 +0000 (+0200)
Subject: ARM: imx: mx5: Enable Thumb2 build on MX53 Menlo board
X-Git-Tag: v2025.01-rc5-pxa1908~1673^2~5
X-Git-Url: http://git.dujemihanovic.xyz/img/html/index.html?a=commitdiff_plain;h=521418daee7a1a78503d763c756df424b8fde821;p=u-boot.git

ARM: imx: mx5: Enable Thumb2 build on MX53 Menlo board

Build U-Boot in Thumb2 mode for M53Menlo board, this makes better
use of the CPU since the instruction density is higher.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
---

diff --git a/configs/m53menlo_defconfig b/configs/m53menlo_defconfig
index 5903ddd13e..2c065c67ff 100644
--- a/configs/m53menlo_defconfig
+++ b/configs/m53menlo_defconfig
@@ -1,4 +1,5 @@
 CONFIG_ARM=y
+CONFIG_SYS_THUMB_BUILD=y
 CONFIG_ARCH_MX5=y
 CONFIG_SYS_TEXT_BASE=0x71000000
 CONFIG_SPL_GPIO=y