]> git.dujemihanovic.xyz Git - u-boot.git/commit
armv8: prevent using THUMB
authorAndre Przywara <andre.przywara@arm.com>
Mon, 2 Jan 2017 11:48:26 +0000 (11:48 +0000)
committerJagan Teki <jagan@openedev.com>
Wed, 4 Jan 2017 15:37:40 +0000 (16:37 +0100)
commitebda0cc5090d758b5f2a99b4ea116d27e4402255
tree09fe94303f095455ab9f89524290899cbd12fe9e
parent2865433a465755d45a2bdd83762fb373d60b9f20
armv8: prevent using THUMB

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 <andre.przywara@arm.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
arch/arm/lib/Makefile
include/configs/sunxi-common.h