public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/5] sh: Use -m2a-nofpu only
@ 2018-02-17 22:30 Tom Rini
  2018-02-17 22:30 ` [U-Boot] [PATCH 2/5] travis-ci: Enable more SH to be tested Tom Rini
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Tom Rini @ 2018-02-17 22:30 UTC (permalink / raw)
  To: u-boot

Based on reading over the GCC manual, passing both -m2a and -m2a-nofpu
are redundant, as -m2a-nofpu will provide functional code for both.  As
-m2a-nofpu functions with more toolchains and does what is expected,
switch.

Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
 arch/sh/cpu/sh2/config.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/sh/cpu/sh2/config.mk b/arch/sh/cpu/sh2/config.mk
index 12e202d539a0..a063e8361c98 100644
--- a/arch/sh/cpu/sh2/config.mk
+++ b/arch/sh/cpu/sh2/config.mk
@@ -8,7 +8,7 @@
 ENDIANNESS += -EB
 
 ifdef CONFIG_CPU_SH2A
-PLATFORM_CPPFLAGS += -m2a -m2a-nofpu -mb
+PLATFORM_CPPFLAGS += -m2a-nofpu -mb
 else # SH2
 PLATFORM_CPPFLAGS += -m3e -mb
 endif
-- 
2.7.4

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

end of thread, other threads:[~2018-02-19 20:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-17 22:30 [U-Boot] [PATCH 1/5] sh: Use -m2a-nofpu only Tom Rini
2018-02-17 22:30 ` [U-Boot] [PATCH 2/5] travis-ci: Enable more SH to be tested Tom Rini
2018-02-19  4:43   ` Marek Vasut
2018-02-19 12:23     ` Tom Rini
2018-02-17 22:30 ` [U-Boot] [PATCH 3/5] net: sh_eth: Fix unused variable warnings Tom Rini
2018-02-19  4:42   ` Marek Vasut
2018-02-19 18:13     ` Joe Hershberger
2018-02-19 20:16       ` Marek Vasut
2018-02-17 22:30 ` [U-Boot] [PATCH 4/5] sh: Do not provide strncmp Tom Rini
2018-02-19  4:43   ` Marek Vasut
2018-02-17 22:30 ` [U-Boot] [PATCH 5/5] sh7763rdp: Add correct MTDIDS/MTDPARTS Tom Rini
2018-02-19  4:43 ` [U-Boot] [PATCH 1/5] sh: Use -m2a-nofpu only Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox