
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 aford173@gmail.com
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index cac58bdc4d..4e1b8cfa35 100644
Applied to u-boot/master, thanks!