All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 1/1] arm: fix -march for ARM11
@ 2019-11-23  8:14 Heinrich Schuchardt
  2019-11-23 14:38 ` Fabio Estevam
  2019-11-24 14:56 ` Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Heinrich Schuchardt @ 2019-11-23  8:14 UTC (permalink / raw)
  To: u-boot

In GCC 9 support for the Armv5 and Armv5E architectures (which have no
known implementations) has been removed, cf.
https://gcc.gnu.org/gcc-9/changes.html

ARM11 is an armv6 implementation. So change the architecture flag for the
compiler to armv6 for ARM11.

Suggested-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
v2:
	change commit message
---
 arch/arm/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 5384981c17..60af7e3199 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -12,8 +12,8 @@ arch-$(CONFIG_CPU_ARM926EJS)	=-march=armv5te
 arch-$(CONFIG_CPU_ARM946ES)	=-march=armv5te
 arch-$(CONFIG_CPU_SA1100)	=-march=armv4
 arch-$(CONFIG_CPU_PXA)		=
-arch-$(CONFIG_CPU_ARM1136)	=-march=armv5
-arch-$(CONFIG_CPU_ARM1176)	=-march=armv5t
+arch-$(CONFIG_CPU_ARM1136)	=-march=armv6
+arch-$(CONFIG_CPU_ARM1176)	=-march=armv6
 arch-$(CONFIG_CPU_V7A)		=$(call cc-option, -march=armv7-a, \
 				 $(call cc-option, -march=armv7))
 arch-$(CONFIG_CPU_V7M)		=-march=armv7-m
--
2.24.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH v2 1/1] arm: fix -march for ARM11
  2019-11-23  8:14 [U-Boot] [PATCH v2 1/1] arm: fix -march for ARM11 Heinrich Schuchardt
@ 2019-11-23 14:38 ` Fabio Estevam
  2019-11-24 14:56 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2019-11-23 14:38 UTC (permalink / raw)
  To: u-boot

On Sat, Nov 23, 2019 at 5:15 AM Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> In GCC 9 support for the Armv5 and Armv5E architectures (which have no
> known implementations) has been removed, cf.
> https://gcc.gnu.org/gcc-9/changes.html
>
> ARM11 is an armv6 implementation. So change the architecture flag for the
> compiler to armv6 for ARM11.
>
> Suggested-by: Fabio Estevam <festevam@gmail.com>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Reviewed-by: Fabio Estevam <festevam@gmail.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH v2 1/1] arm: fix -march for ARM11
  2019-11-23  8:14 [U-Boot] [PATCH v2 1/1] arm: fix -march for ARM11 Heinrich Schuchardt
  2019-11-23 14:38 ` Fabio Estevam
@ 2019-11-24 14:56 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2019-11-24 14:56 UTC (permalink / raw)
  To: u-boot

On Sat, Nov 23, 2019 at 09:14:54AM +0100, Heinrich Schuchardt wrote:

> In GCC 9 support for the Armv5 and Armv5E architectures (which have no
> known implementations) has been removed, cf.
> https://gcc.gnu.org/gcc-9/changes.html
> 
> ARM11 is an armv6 implementation. So change the architecture flag for the
> compiler to armv6 for ARM11.
> 
> Suggested-by: Fabio Estevam <festevam@gmail.com>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> Reviewed-by: Fabio Estevam <festevam@gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191124/288dc88e/attachment.sig>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-24 14:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-23  8:14 [U-Boot] [PATCH v2 1/1] arm: fix -march for ARM11 Heinrich Schuchardt
2019-11-23 14:38 ` Fabio Estevam
2019-11-24 14:56 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.