From: Tom Rini Date: Tue, 11 Sep 2018 08:25:04 -0400 Subject: [U-Boot] arm: armv7-a: Compile and tune for armv7-a instead of armv5 In-Reply-To: <20180804213454.16307-1-aford173@gmail.com> References: <20180804213454.16307-1-aford173@gmail.com> Message-ID: <20180911122504.GA4980@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Aug 04, 2018 at 04:34:54PM -0500, Adam Ford wrote: > arch/arm/Makefile references armv5 for backwards compatibility with > older compilers. This patch removes those references to armv5, > since by now newer compilers are required which should have armv7 > support enabled. > > The Makefile also also has a list of options for mtune, but the > entry for CONFIG_CPU_V7A is empty, so this patch tunes the > CPU_V7A architecture to generic-armv7-a. > > The following size changed apply to omap3_logic using GCC. > > Stock > text data bss dec hex filename > 50910 429 67580 118919 1d087 spl/u-boot-spl > 540713 22700 327072 890485 d9675 u-boot > > Without Armv5 > text data bss dec hex filename > 50916 429 67580 118925 1d08d spl/u-boot-spl > 540719 22700 327064 890483 d9673 u-boot > > mtune=generic-armv7-a > text data bss dec hex filename > 50932 429 67580 118941 1d09d spl/u-boot-spl > 540519 22700 327080 890299 d95bb u-boot > > Signed-off-by: Adam Ford > > diff --git a/arch/arm/Makefile b/arch/arm/Makefile > index cac58bdc4d..4e1b8cfa35 100644 Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: