summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJames Yang <James.Yang@freescale.com>2013-08-12 20:09:59 (GMT)
committerRivera Jose-B46482 <Jose.G.Rivera@freescale.com>2013-08-16 20:15:56 (GMT)
commit0d22173d1a7cc3b094144a1dadc8164fca023fbf (patch)
tree357b77793bb109c6048201a6d67b1e3df89ecb7f /arch
parent7a53812e4a64d91f80988a03a4dd1f17935c7790 (diff)
downloadlinux-fsl-qoriq-0d22173d1a7cc3b094144a1dadc8164fca023fbf.tar.xz
powerpc: remove default -mtune=power7/power4 flag
The default optimization flag -mtune=power7 has questionable performance effects on many other implementations. This patch removes the flag and leaves it up to the compiler default, a target-specific config-option -mtune=, or a -mcpu= flag to choose the tuning. Change-Id: Ia307644104ef10e75fa511d621ee158cb6e65baa Signed-off-by: James Yang <James.Yang@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/3960 Reviewed-by: Wood Scott-B07421 <scottwood@freescale.com> Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Rivera Jose-B46482 <Jose.G.Rivera@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 82808b5..50b626c 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -91,7 +91,6 @@ CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mno-pointers-to-nested-functions)
CFLAGS-$(CONFIG_PPC32) := -ffixed-r2 -mmultiple
-CFLAGS-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mtune=power7,-mtune=power4)
CFLAGS-$(CONFIG_CELL_CPU) += $(call cc-option,-mcpu=cell)
CFLAGS-$(CONFIG_POWER4_CPU) += $(call cc-option,-mcpu=power4)
CFLAGS-$(CONFIG_POWER5_CPU) += $(call cc-option,-mcpu=power5)