From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sun, 4 Dec 2016 23:25:08 -0700 Subject: [U-Boot] [PATCH v2 02/23] armv8: prevent using THUMB In-Reply-To: <1480902750-839-3-git-send-email-andre.przywara@arm.com> References: <1480902750-839-1-git-send-email-andre.przywara@arm.com> <1480902750-839-3-git-send-email-andre.przywara@arm.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 4 December 2016 at 18:52, Andre Przywara wrote: > The predominantely 32-bit ARM targets try to compile the SPL in Thumb > mode to reduce code size. > The 64-bit AArch64 instruction set does not know an alternative, concise > encoding, so the Thumb build option should only be set for 32-bit > targets. > Likewise -marm machine options are only valid for ARMv7 targets. > > Signed-off-by: Andre Przywara > Reviewed-by: Alexander Graf > --- > arch/arm/lib/Makefile | 2 ++ > include/configs/sunxi-common.h | 2 +- > 2 files changed, 3 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass