[U-Boot] [PATCH v6] arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD

Albert ARIBAUD albert.u.boot at aribaud.net
Sat Sep 12 09:21:43 CEST 2015


Hello Stefan,

On Wed,  2 Sep 2015 11:06:40 +0200, Stefan Roese <sr at denx.de> wrote:
> From: Albert ARIBAUD <albert.u.boot at aribaud.net>
> 
> When building a Thumb-1-only target with CONFIG_SYS_THUMB_BUILD,
> some files fail to build, most of the time because they include
> mcr instructions, which only exist for Thumb-2.
> 
> This patch introduces a Kconfig option CONFIG_THUMB2 and uses
> it to select between Thumb-2 and ARM mode for the aforementioned
> files.
> 
> Signed-off-by: Albert ARIBAUD <albert.u.boot at aribaud.net>
> Signed-off-by: Stefan Roese <sr at denx.de
> ---
> This patch is necessary for the SPEAr600 x600 U-Boot port to
> fit into the onboard NOR flash again. Reducing the size by about
> 200KiB. So, if nothing is really missing here, then please
> let's apply it after the v2015.10 release.
> 
> Thanks,
> Stefan

Did you change anything from v5 of this patch? Otherwise, I would
prefer to apply the whole series.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list